Add mod (and setmod) operators

This commit is contained in:
Nicolas Williams committed 2013-06-21 15:27:34 -05:00
1 parent dc2fe63e42
commit 3403d07912
4 files changed
+38 -4

No files matched your search

+2 -1
View File
@@ -56,10 +56,11 @@ struct lexer_param;
"-=" { return SETMINUS; }
"*=" { return SETMULT; }
"/=" { return SETDIV; }
"%=" { return SETMOD; }
"//=" { return SETDEFINEDOR; }
"<=" { return LESSEQ; }
">=" { return GREATEREQ; }
"."|"="|";"|","|":"|"|"|"+"|"-"|"*"|"/"|"\$"|"<"|">" { return yytext[0];}
"."|"="|";"|","|":"|"|"|"+"|"-"|"*"|"/"|"%"|"\$"|"<"|">" { return yytext[0];}
"["|"{"|"(" {
return enter(yytext[0], YY_START, yyscanner);