diff options
| author | Scott Moynes <smoynes@nexus.carleton.ca> | 2002-08-21 00:27:16 +0000 |
|---|---|---|
| committer | Scott Moynes <smoynes@nexus.carleton.ca> | 2002-08-21 00:27:16 +0000 |
| commit | bd05f7ec58f3e1f5839c372ad4fb007a8d8866f5 (patch) | |
| tree | 4d39b40830fd671bbf4f4effa5a54c1e7d8db410 /util/epist/epist.y | |
| parent | b1223a2acc196ec96f208229b877d37f36c9887c (diff) | |
uber patch.
Added configuration options.
Added workspace grid changing.
Added keychain timeouts.
Fixed some whitespace.
Diffstat (limited to 'util/epist/epist.y')
| -rw-r--r-- | util/epist/epist.y | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/util/epist/epist.y b/util/epist/epist.y index c1bf196d..d956a4ca 100644 --- a/util/epist/epist.y +++ b/util/epist/epist.y @@ -20,12 +20,13 @@ void yyerror(const char *c) { %} -%token OBRACE EBRACE SEMICOLON DASH NUMBER QUOTES WORD BINDING +%token OBRACE EBRACE SEMICOLON DASH NUMBER QUOTES WORD BINDING OPTIONS %% commands: | commands command + | commands options_block ; command: @@ -48,6 +49,10 @@ chain_command: } ; +options_block: + options_keyword OBRACE options EBRACE + ; + binding: binding_w_modifier bind_key ; @@ -79,5 +84,18 @@ parameter: | QUOTES { ((parser*)parser_obj)->setArgumentStr($1); } ; +options_keyword: + OPTIONS + ; + +options: + | options option + ; + +option: + WORD parameter SEMICOLON + { ((parser*)parser_obj)->setOption($1); } + ; + %% |
