summary refs log tree commit diff stats
path: root/doc/grammar.txt
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-02-02 14:34:37 +0100
committerAraq <rumpf_a@web.de>2014-02-02 14:34:37 +0100
commitc30f6cfcf11cf5e61d708db476d7a6fcb62aab23 (patch)
treeaa661e3fb6da6bdc03199448c7e2adc5a03783af /doc/grammar.txt
parent7196c7637e00581f94ca9c02782f34ef7d480e2f (diff)
downloadNim-c30f6cfcf11cf5e61d708db476d7a6fcb62aab23.tar.gz
cleaned up command expressions
Diffstat (limited to 'doc/grammar.txt')
-rw-r--r--doc/grammar.txt3
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