dont set fields if in a comment

This commit is contained in:
Dana Jansens 2003-03-26 10:15:01 +00:00
parent 093c4cb710
commit 232e003094

View file

@ -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()