Added handling for ; comment character as there was for #.

Bug#2080
This commit is contained in:
unknown 2004-01-15 04:00:21 +02:00
parent 391cb07be0
commit f9bec44af1

View File

@ -461,7 +461,7 @@ static char *remove_end_comment(char *ptr)
else if (quote == *ptr)
quote= 0;
}
if (!quote && *ptr == '#') /* We are not inside a comment */
if (!quote && (*ptr == '#' || *ptr == ';')) // We are not inside a comment
{
*ptr= 0;
return ptr;