summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-06-03 08:05:32 +0200
committerAraq <rumpf_a@web.de>2013-06-03 08:05:32 +0200
commitb3ac785f95950791ae342d8973864684c78cc09b (patch)
treec68ca631ee4ae850c90d51064ee4825fa2930772 /doc
parent865a43050d17bef796da956f080913076cf8e866 (diff)
downloadNim-b3ac785f95950791ae342d8973864684c78cc09b.tar.gz
fixes semicolon parsing issue
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 3aa556ce3..741e9b907 100644
--- a/doc/grammar.txt
+++ b/doc/grammar.txt
@@ -186,4 +186,4 @@ complexOrSimpleStmt = (ifStmt | whenStmt | whileStmt
                     | bindStmt | mixinStmt)
                     / simpleStmt
 stmt = (IND{>} complexOrSimpleStmt^+(IND{=} / ';') DED)
-     / simpleStmt
+     / simpleStmt ^+ ';'