macroprocessor: don’t interpret inline comments yet put them to output (ignored by dynare preprocessor, but printed in macro expanded file). #4
parent
da917705ea
commit
27e6d92af1
|
@ -72,7 +72,7 @@ CONT \\\\
|
|||
%}
|
||||
|
||||
// Ignore inline comments
|
||||
<STMT,EXPR,FOR_BODY,THEN_BODY,ELSE_BODY>\/{2}.*
|
||||
<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} {
|
||||
yylloc->lines(1);
|
||||
|
|
Loading…
Reference in New Issue