only allow inline comments on statement lines. #4
parent
aea9011745
commit
3776e3b890
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue