mirror of https://github.com/vitalif/openscad
Final fix of #364 - includepaths leaked to subsequent pathless includes
parent
6cdffec403
commit
93117c0d02
|
@ -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; }
|
||||
|
|
Loading…
Reference in New Issue