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()
|
||||
{
|
||||
if (!comment) {
|
||||
if (context == NULL)
|
||||
context = g_strdup(mparsetext);
|
||||
else if (event == NULL)
|
||||
|
@ -47,6 +48,7 @@ static void gotfield()
|
|||
action = g_strdup(mparsetext);
|
||||
else
|
||||
error = TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
static void endofline()
|
||||
|
|
Loading…
Reference in a new issue