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 | 62dc1a48ef8f062af517fb6b0b0c140bf9e3ac28 (patch) | |
| tree | f110320683f2e18764d7ed0324723805ea44f220 | |
| parent | f889ec36f7272bd06b34d36e63fa2e68b8f7fa30 (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(); }  } | 
