summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-04-21 22:04:56 +0200
committerAraq <rumpf_a@web.de>2013-04-21 22:04:56 +0200
commitf7c7d95d8906b77df246bebd219133842033c2a1 (patch)
tree2b07ffc66fd92f630baeafeef14514dd012aa43d /compiler
parent8a595b631b55cdae14091ce3e1be6004308036e8 (diff)
downloadNim-f7c7d95d8906b77df246bebd219133842033c2a1.tar.gz
bugfix: 'import x var y' without newline doesn't parse anymore
Diffstat (limited to 'compiler')
-rw-r--r--compiler/parser.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/parser.nim b/compiler/parser.nim
index 6a85b410b..175664a84 100644
--- a/compiler/parser.nim
+++ b/compiler/parser.nim
@@ -1720,7 +1720,7 @@ proc parseAll(p: var TParser): PNode =
 
 proc parseTopLevelStmt(p: var TParser): PNode =
   result = ast.emptyNode
-  while true: 
+  while true:
     if p.tok.indent != 0: 
       if p.firstTok and p.tok.indent < 0: nil
       else: parMessage(p, errInvalidIndentation)