summary refs log tree commit diff stats
path: root/compiler/parser.nim
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@gmail.com>2016-04-04 12:06:42 +0100
committerDominik Picheta <dominikpicheta@gmail.com>2016-04-04 12:06:42 +0100
commit436b0031736b7b569f18a90c67e62a483716037a (patch)
treed938d5efd6ea4125c9f5d543ccca7489e637a4cb /compiler/parser.nim
parenta70e6b3fde7c251aff68243de1c7adcebc3c67e3 (diff)
parentfbedb6c65514e394f163a68dd530d19d310afadf (diff)
downloadNim-436b0031736b7b569f18a90c67e62a483716037a.tar.gz
Merge branch 'devel' of github.com:nim-lang/Nim into devel
Diffstat (limited to 'compiler/parser.nim')
-rw-r--r--compiler/parser.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/parser.nim b/compiler/parser.nim
index f22177ac1..1ba59b938 100644
--- a/compiler/parser.nim
+++ b/compiler/parser.nim
@@ -326,6 +326,7 @@ proc parseSymbol(p: var TParser, allowNil = false): PNode =
         getTok(p)
       else:
         parMessage(p, errIdentifierExpected, p.tok)
+        break
     eat(p, tkAccent)
   else:
     if allowNil and p.tok.tokType == tkNil: