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
Branches
Tags
No related merge requests found
...@@ -72,7 +72,7 @@ CONT \\\\ ...@@ -72,7 +72,7 @@ CONT \\\\
%} %}
// Ignore inline comments // 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} { <INITIAL>^{SPC}*@#{SPC}*includepath{SPC}+\"([^\"\r\n:;|<>]*){1}(:[^\"\r\n:;|<>]*)*\"{SPC}*{EOL} {
yylloc->lines(1); yylloc->lines(1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment