Final fix of #364 - includepaths leaked to subsequent pathless includes

felipesanches-svg
Marius Kintel 2013-05-26 17:03:52 -04:00
parent 6cdffec403
commit 93117c0d02
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ E [Ee][+-]?{D}+
%%
include[ \t\r\n>]*"<" { BEGIN(cond_include); }
include[ \t\r\n>]*"<" { BEGIN(cond_include); filepath = filename = "";}
<cond_include>{
[^\t\r\n>]*"/" { filepath = yytext; }
[^\t\r\n>/]+ { filename = yytext; }