summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGiles Bathgate <gilesbathgate@gmail.com>2010-12-09 12:18:24 (GMT)
committerGiles Bathgate <gilesbathgate@gmail.com>2010-12-09 12:18:24 (GMT)
commitd98e398ec185f87501c1374cc3863457ed450663 (patch)
treef110320683f2e18764d7ed0324723805ea44f220 /src
parent5ef31011f39106318981d758967b64b5ee2fb275 (diff)
Removed some unneeded cruft.
Diffstat (limited to 'src')
-rw-r--r--src/lexer.l8
1 files changed, 4 insertions, 4 deletions
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); }
<include>{
-<path>[^\t\r\n>]+"/" { filepath = yytext; }
-<path>[^\t\r\n>/]+ { filename = yytext; }
-<path>">" { BEGIN(INITIAL); includefile(); }
+[^\t\r\n>]+"/" { filepath = yytext; }
+[^\t\r\n>/]+ { filename = yytext; }
+">" { BEGIN(INITIAL); includefile(); }
}
contact: Jan Huwald // Impressum