macroprocessor: support Matlab comments. #4
parent
27e6d92af1
commit
066942ef22
|
@ -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} {
|
||||
|
|
Loading…
Reference in New Issue