Commit 3ceef284 authored by lenz@kallisto.local's avatar lenz@kallisto.local

- no C++ comments in .c files, please...

parent 7aa82031
...@@ -461,7 +461,8 @@ static char *remove_end_comment(char *ptr) ...@@ -461,7 +461,8 @@ static char *remove_end_comment(char *ptr)
else if (quote == *ptr) else if (quote == *ptr)
quote= 0; quote= 0;
} }
if (!quote && (*ptr == '#' || *ptr == ';')) // We are not inside a comment /* We are not inside a comment */
if (!quote && (*ptr == '#' || *ptr == ';'))
{ {
*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