summary refs log tree commit diff stats
path: root/rod/c2nim/cpp.nim
diff options
context:
space:
mode:
Diffstat (limited to 'rod/c2nim/cpp.nim')
-rwxr-xr-xrod/c2nim/cpp.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/rod/c2nim/cpp.nim b/rod/c2nim/cpp.nim
index 5507c6116..f59c86044 100755
--- a/rod/c2nim/cpp.nim
+++ b/rod/c2nim/cpp.nim
@@ -16,7 +16,7 @@ proc eatNewLine(p: var TParser, n: PNode) =
   if p.tok.xkind == pxLineComment:
     skipCom(p, n)
     if p.tok.xkind == pxNewLine: getTok(p)
-  else:
+  elif p.tok.xkind == pxNewLine: 
     eat(p, pxNewLine)
   
 proc skipLine(p: var TParser) =