From: khamidou Date: Tue, 3 Mar 2009 17:58:58 +0000 (+0100) Subject: fixed lexer bug X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=bf18f270e5eefb1fcbca2373e72be9191137f9ff;p=croma.git fixed lexer bug --- diff --git a/lexer.l b/lexer.l index 3cc964e..349a71c 100644 --- a/lexer.l +++ b/lexer.l @@ -26,6 +26,6 @@ int yywrap() "define" { return DEFINE; } "$$" { return DOLDOL; } [ \t\n]+ { return SPACES; } -[a-zA-Z0-9,?!%*:,;#$^]+ { return WORD; } +[a-zA-Z0-9,?!%*:,;#\"$^]+ { return WORD; } <> { return -1; }