Commit 3776e3b8 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

only allow inline comments on statement lines. #4

parent aea90117
......@@ -72,7 +72,7 @@ CONT \\\\
%}
// Ignore inline comments
<STMT,EXPR,FOR_BODY,THEN_BODY,ELSE_BODY>\/{2}.*
<STMT>\/{2}.*
<INITIAL>^{SPC}*@#{SPC}*includepath{SPC}+\"([^\"\r\n:;|<>]*){1}(:[^\"\r\n:;|<>]*)*\"{SPC}*{EOL} {
yylloc->lines(1);
......
Supports Markdown
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