From 656478e3cc1c916b16b0da42ca6c11471e5817ea Mon Sep 17 00:00:00 2001 From: Marius Nita Date: Mon, 26 Aug 2002 21:04:00 +0000 Subject: Added On/Off options to the grammar, for parameters. --- util/epist/epist.l | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'util/epist/epist.l') diff --git a/util/epist/epist.l b/util/epist/epist.l index 55dc8d61..e545054a 100644 --- a/util/epist/epist.l +++ b/util/epist/epist.l @@ -27,8 +27,12 @@ Control | control | shift | Shift yylval = (int) strdup(yytext); return BINDING; +on | +On | true | True yylval = (int) strdup(yytext); return TRUE; +Off | +off | false | False yylval = (int) strdup(yytext); return FALSE; [0-9]+ yylval = (int) strdup(yytext); return NUMBER; -- cgit v1.2.3