Skip to content
Snippets Groups Projects
Commit 7e842867 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

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

parent 47b82848
No related branches found
No related tags found
No related merge requests found
...@@ -580,7 +580,9 @@ string eofbuff; ...@@ -580,7 +580,9 @@ string eofbuff;
/* Add the native statement */ /* Add the native statement */
<NATIVE>{ <NATIVE>{
[^/%*\n\.]* | [^/%*\n\.\'\"]* |
\'[^\'\n]*\' |
\"[^\"\n]*\" |
\.{1,2} | \.{1,2} |
"*" | "*" |
"/" { yymore(); eofbuff = string(yytext); } "/" { yymore(); eofbuff = string(yytext); }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment