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

Bug#2080
parent 46aea13f
...@@ -461,7 +461,7 @@ static char *remove_end_comment(char *ptr) ...@@ -461,7 +461,7 @@ static char *remove_end_comment(char *ptr)
else if (quote == *ptr) else if (quote == *ptr)
quote= 0; quote= 0;
} }
if (!quote && *ptr == '#') /* We are not inside a comment */ if (!quote && (*ptr == '#' || *ptr == ';')) // We are not inside a comment
{ {
*ptr= 0; *ptr= 0;
return ptr; return ptr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment