diff --git a/tools/qfcc/source/qc-lex.l b/tools/qfcc/source/qc-lex.l index 0bddf4ca6..ee90a194f 100644 --- a/tools/qfcc/source/qc-lex.l +++ b/tools/qfcc/source/qc-lex.l @@ -11,9 +11,11 @@ ID [a-zA-Z_][a-zA-Z_0-9]* %% -{DIGIT}+"."{DIGIT}* +{DIGIT}+"."{DIGIT}* return VALUE; -{ID} +{ID} return NAME + +\"(\.|[^"])*\" "!"|"("|")"|"{"|"}"|"."|"*"|"/"|"&"|"|"|"+"|"-"|"="|"["|"]" return yytext[0];