macroprocessor: support Matlab comments. #4

issue#70
Houtan Bastani 2018-07-09 16:47:58 +02:00
parent 27e6d92af1
commit 066942ef22
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ CONT \\\\
%}
// Ignore inline comments
<INITIAL,STMT,EXPR,FOR_BODY,THEN_BODY,ELSE_BODY>%.* { yylloc->step(); ECHO; }
<INITIAL,STMT,EXPR,FOR_BODY,THEN_BODY,ELSE_BODY>\/{2}.* { yylloc->step(); ECHO; }
<INITIAL>^{SPC}*@#{SPC}*includepath{SPC}+\"([^\"\r\n:;|<>]*){1}(:[^\"\r\n:;|<>]*)*\"{SPC}*{EOL} {