From 483b8496d615dc1ed6934fb685b904ad6923b8a1 Mon Sep 17 00:00:00 2001 From: Marius Nita Date: Mon, 26 Aug 2002 06:38:02 +0000 Subject: Made case requirements less strict (you can now have "control" as well as "Control") and added True/False grammar rules for parameters. --- util/epist/epist.l | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'util/epist/epist.l') diff --git a/util/epist/epist.l b/util/epist/epist.l index 86db62ae..55dc8d61 100644 --- a/util/epist/epist.l +++ b/util/epist/epist.l @@ -16,11 +16,21 @@ extern YYSTYPE yylval; Options | options return OPTIONS; Mod1 | +mod1 | Mod2 | +mod2 | Mod3 | +mod3 | Mod4 | +mod4 | Control | +control | +shift | Shift yylval = (int) strdup(yytext); return BINDING; +true | +True yylval = (int) strdup(yytext); return TRUE; +false | +False yylval = (int) strdup(yytext); return FALSE; [0-9]+ yylval = (int) strdup(yytext); return NUMBER; \".+\" yylval = (int) strdup(yytext); return QUOTES; [a-zA-Z_0-9]+ yylval = (int) strdup(yytext); return WORD; -- cgit v1.2.3