Preprocessor: fix problem with "%" sign inside string in native statements

issue#70
Sébastien Villemot 2011-02-21 11:20:18 +01:00
parent 47b828489b
commit 7e842867af
1 changed files with 3 additions and 1 deletions

View File

@ -580,7 +580,9 @@ string eofbuff;
/* Add the native statement */
<NATIVE>{
[^/%*\n\.]* |
[^/%*\n\.\'\"]* |
\'[^\'\n]*\' |
\"[^\"\n]*\" |
\.{1,2} |
"*" |
"/" { yymore(); eofbuff = string(yytext); }