diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lexer.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lexer.l b/src/lexer.l index 0da3f5d..bc61c20 100644 --- a/src/lexer.l +++ b/src/lexer.l @@ -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(); } } |