mirror of https://github.com/vitalif/openscad
Bugfix: Include of absolute paths to files in the root path weren't parsed correctly; caused a '/' character to be written to stdout
parent
1a9e3e7ca5
commit
f90e60fadb
|
@ -88,7 +88,7 @@ DIGIT [0-9]
|
|||
|
||||
include[ \t\r\n>]*"<" { BEGIN(include); }
|
||||
<include>{
|
||||
[^\t\r\n>]+"/" { filepath = yytext; }
|
||||
[^\t\r\n>]*"/" { filepath = yytext; }
|
||||
[^\t\r\n>/]+ { filename = yytext; }
|
||||
">" { BEGIN(INITIAL); includefile(); }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue