fixes semicolon parsing issue

This commit is contained in:
Araq 2013-06-03 08:05:32 +02:00
commit b3ac785f95
3 changed files with 15 additions and 6 deletions

View file

@ -186,4 +186,4 @@ complexOrSimpleStmt = (ifStmt | whenStmt | whileStmt
| bindStmt | mixinStmt)
/ simpleStmt
stmt = (IND{>} complexOrSimpleStmt^+(IND{=} / ';') DED)
/ simpleStmt
/ simpleStmt ^+ ';'