From d98e398ec185f87501c1374cc3863457ed450663 Mon Sep 17 00:00:00 2001 From: Giles Bathgate Date: Thu, 9 Dec 2010 12:18:24 +0000 Subject: Removed some unneeded cruft. diff --git a/src/lexer.l b/src/lexer.l index 91606c6..9e8aaf8 100644 --- a/src/lexer.l +++ b/src/lexer.l @@ -72,7 +72,7 @@ QString filepath; %option noyywrap %x comment string -%x include path +%x include DIGIT [0-9] @@ -80,9 +80,9 @@ DIGIT [0-9] include[ \t\r\n>]*"<" { BEGIN(include); } { -[^\t\r\n>]+"/" { filepath = yytext; } -[^\t\r\n>/]+ { filename = yytext; } -">" { BEGIN(INITIAL); includefile(); } +[^\t\r\n>]+"/" { filepath = yytext; } +[^\t\r\n>/]+ { filename = yytext; } +">" { BEGIN(INITIAL); includefile(); } } -- cgit v0.10.1