diff options
author | Araq <rumpf_a@web.de> | 2014-02-02 14:34:37 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-02-02 14:34:37 +0100 |
commit | c30f6cfcf11cf5e61d708db476d7a6fcb62aab23 (patch) | |
tree | aa661e3fb6da6bdc03199448c7e2adc5a03783af /doc/grammar.txt | |
parent | 7196c7637e00581f94ca9c02782f34ef7d480e2f (diff) | |
download | Nim-c30f6cfcf11cf5e61d708db476d7a6fcb62aab23.tar.gz |
cleaned up command expressions
Diffstat (limited to 'doc/grammar.txt')
-rw-r--r-- | doc/grammar.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/grammar.txt b/doc/grammar.txt index 54c2217d8..63e898e11 100644 --- a/doc/grammar.txt +++ b/doc/grammar.txt @@ -59,8 +59,7 @@ primarySuffix = '(' (exprColonEqExpr comma?)* ')' doBlocks? | '.' optInd ('type' | 'addr' | symbol) generalizedLit? | '[' optInd indexExprList optPar ']' | '{' optInd indexExprList optPar '}' - | &( '`'|IDENT|literal|'cast') expr ^+ ',' # command syntax - (doBlock | macroColon)? + | &( '`'|IDENT|literal|'cast') expr # command syntax condExpr = expr colcom expr optInd ('elif' expr colcom expr optInd)* 'else' colcom expr |