Skip to content
Snippets Groups Projects
Commit 3776e3b8 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

only allow inline comments on statement lines. #4

parent aea90117
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment