diff options
| author | Marius Nita <marius@cs.pdx.edu> | 2002-08-26 06:38:02 +0000 |
|---|---|---|
| committer | Marius Nita <marius@cs.pdx.edu> | 2002-08-26 06:38:02 +0000 |
| commit | 483b8496d615dc1ed6934fb685b904ad6923b8a1 (patch) | |
| tree | 5d5be56363484404ebe704205aaac5095dacc455 /util/epist/epist.y | |
| parent | 11e643f4b885ee1f96112fcf531739a339691272 (diff) | |
Made case requirements less strict (you can now have "control" as well as "Control") and added True/False grammar rules for parameters.
Diffstat (limited to 'util/epist/epist.y')
| -rw-r--r-- | util/epist/epist.y | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/util/epist/epist.y b/util/epist/epist.y index f91162f7..d187e96f 100644 --- a/util/epist/epist.y +++ b/util/epist/epist.y @@ -24,7 +24,7 @@ void yyerror(const char *c) { %} -%token OBRACE EBRACE SEMICOLON DASH NUMBER QUOTES WORD BINDING OPTIONS +%token OBRACE EBRACE SEMICOLON DASH NUMBER QUOTES WORD BINDING OPTIONS TRUE FALSE %% @@ -86,6 +86,8 @@ parameter: | NUMBER { ((parser*)parser_obj)->setArgumentNum($1); } | DASH NUMBER { ((parser*)parser_obj)->setArgumentNegNum($2); } | QUOTES { ((parser*)parser_obj)->setArgumentStr($1); } + | TRUE { ((parser*)parser_obj)->setArgumentTrue($1); } + | FALSE { ((parser*)parser_obj)->setArgumentFalse($1); } ; options_keyword: |
