summaryrefslogtreecommitdiff
path: root/util/epist/epist.l
diff options
context:
space:
mode:
authorMarius Nita <marius@cs.pdx.edu>2002-08-26 21:04:00 +0000
committerMarius Nita <marius@cs.pdx.edu>2002-08-26 21:04:00 +0000
commit656478e3cc1c916b16b0da42ca6c11471e5817ea (patch)
treecdefefa46ea9629a6eb84f4e9d0f5dbcc2c76f33 /util/epist/epist.l
parent572acce581f4b8799db661ed7ab0007de0393a09 (diff)
Added On/Off options to the grammar, for parameters.
Diffstat (limited to 'util/epist/epist.l')
-rw-r--r--util/epist/epist.l4
1 files changed, 4 insertions, 0 deletions
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;