dont set fields if in a comment
This commit is contained in:
parent
093c4cb710
commit
232e003094
1 changed files with 12 additions and 10 deletions
|
@ -37,6 +37,7 @@ white [ \t]*
|
||||||
|
|
||||||
static void gotfield()
|
static void gotfield()
|
||||||
{
|
{
|
||||||
|
if (!comment) {
|
||||||
if (context == NULL)
|
if (context == NULL)
|
||||||
context = g_strdup(mparsetext);
|
context = g_strdup(mparsetext);
|
||||||
else if (event == NULL)
|
else if (event == NULL)
|
||||||
|
@ -47,6 +48,7 @@ static void gotfield()
|
||||||
action = g_strdup(mparsetext);
|
action = g_strdup(mparsetext);
|
||||||
else
|
else
|
||||||
error = TRUE;
|
error = TRUE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void endofline()
|
static void endofline()
|
||||||
|
|
Loading…
Reference in a new issue