allow unary operators as the first token after if or while

This commit is contained in:
Lukáš Hozda
2017-10-28 20:56:34 +02:00
parent ebbab0d259
commit 32c252d4d2
2 changed files with 3 additions and 1 deletions

View File

@@ -191,6 +191,8 @@ impl Token {
Or |
Ampersand |
And |
If |
While |
Return => true,
_ => false,
}