diff options
author | kintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c> | 2011-01-09 16:08:20 (GMT) |
---|---|---|
committer | kintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c> | 2011-01-09 16:08:20 (GMT) |
commit | ee0c2d3ae5d37ddec1f61ea7212cff6edd4fc403 (patch) | |
tree | f110320683f2e18764d7ed0324723805ea44f220 | |
parent | 4cbc08de85989e754c8717e04b39aff0d1c11a40 (diff) |
Removed some unneeded cruft.
git-svn-id: http://svn.clifford.at/openscad/trunk@584 b57f626f-c46c-0410-a088-ec61d464b74c
-rw-r--r-- | src/lexer.l | 8 |
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(); } } |