mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
libsysprof: allow comments with #
This commit is contained in:
@ -166,7 +166,8 @@ sysprof_categories_new (void)
|
|||||||
lineno++;
|
lineno++;
|
||||||
g_strstrip (line);
|
g_strstrip (line);
|
||||||
|
|
||||||
if (line[0] == 0)
|
/* # starts comment line */
|
||||||
|
if (line[0] == 0 || line[0] == '#')
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* Group lines look like "binary nick:\n" */
|
/* Group lines look like "binary nick:\n" */
|
||||||
|
|||||||
Reference in New Issue
Block a user