only allow inline comments on statement lines. #4

issue#70
Houtan Bastani 2018-07-11 13:14:57 +02:00
parent aea9011745
commit 3776e3b890
1 changed files with 1 additions and 1 deletions

View File

@ -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);