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)
@ -48,6 +49,7 @@ static void gotfield()
else else
error = TRUE; error = TRUE;
} }
}
static void endofline() static void endofline()
{ {