summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2014-06-09 07:59:38 +0200
committerAndreas Rumpf <rumpf_a@web.de>2014-06-09 07:59:38 +0200
commit41e599abb917713a98a6bf8ae39fde46311c9db5 (patch)
tree66cca4b933a7499759b416c1dffd6effffd429f0 /doc
parentee1bb2d5629f02b67b62934371ef29655868a69d (diff)
parentbebc3f62a98fc97f9e45614d9479cfbbfd678a91 (diff)
downloadNim-41e599abb917713a98a6bf8ae39fde46311c9db5.tar.gz
Merge pull request #1257 from flaviut/fix1217
Fix bug in previous PR
Diffstat (limited to 'doc')
-rw-r--r--doc/grammar.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/grammar.txt b/doc/grammar.txt
index fe5341840..47ae095f6 100644
--- a/doc/grammar.txt
+++ b/doc/grammar.txt
@@ -24,7 +24,7 @@ ampExpr = plusExpr (OP6 optInd plusExpr)*
 plusExpr = mulExpr (OP7 optInd mulExpr)*
 mulExpr = dollarExpr (OP8 optInd dollarExpr)*
 dollarExpr = primary (OP9 optInd primary)*
-symbol = '`' (KEYW|IDENT|operator|'('|')'|'['|']'|'{'|'}'|'='|literal)+ '`'
+symbol = '`' (KEYW|IDENT|literal|(operator|'('|')'|'['|']'|'{'|'}'|'=')+)+ '`'
        | IDENT
 indexExpr = expr
 indexExprList = indexExpr ^+ comma