diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2014-06-09 07:59:38 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2014-06-09 07:59:38 +0200 |
commit | 41e599abb917713a98a6bf8ae39fde46311c9db5 (patch) | |
tree | 66cca4b933a7499759b416c1dffd6effffd429f0 /doc | |
parent | ee1bb2d5629f02b67b62934371ef29655868a69d (diff) | |
parent | bebc3f62a98fc97f9e45614d9479cfbbfd678a91 (diff) | |
download | Nim-41e599abb917713a98a6bf8ae39fde46311c9db5.tar.gz |
Merge pull request #1257 from flaviut/fix1217
Fix bug in previous PR
Diffstat (limited to 'doc')
-rw-r--r-- | doc/grammar.txt | 2 |
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 |