Bugfix: Include of absolute paths to files in the root path weren't parsed correctly; caused a '/' character to be written to stdout

stl_dim
Marius Kintel 2011-04-30 11:12:06 -04:00
parent 1a9e3e7ca5
commit f90e60fadb
1 changed files with 1 additions and 1 deletions

View File

@ -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(); }
}