Skip to content

Commit

Permalink
Slight STD convergence -- switch "rule statement" to "token statement"
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Feb 28, 2009
1 parent d4c266b commit 0bb4da5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/parser/grammar.pg
Expand Up @@ -216,13 +216,13 @@ token MARK_STATEMENT_END {
## Parse a single statement, which may be either a bare block
## or an expression. Any statement termination is handled by
## the calling rule.
rule statement {
token statement {
[
| <statement_control> {*} #= control
| <expr=EXPR>
| <expr=EXPR> <.ws>
[
|| <statement_mod_loop> {*} #= mod_loop
|| <statement_mod_cond>
|| <statement_mod_cond> <.ws>
<statement_mod_loop>?
{*} #= mod_cond
|| {*} #= expr
Expand Down

0 comments on commit 0bb4da5

Please sign in to comment.