diff options
Diffstat (limited to 'rod/semtempl.nim')
-rwxr-xr-x | rod/semtempl.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rod/semtempl.nim b/rod/semtempl.nim index 1fbcbe227..7782c7b42 100755 --- a/rod/semtempl.nim +++ b/rod/semtempl.nim @@ -152,7 +152,7 @@ proc transformToExpr(n: PNode): PNode = if realStmt >= 0: result = transformToExpr(n.sons[realStmt]) else: n.kind = nkStmtListExpr of nkBlockStmt: - n.kind = nkBlockExpr + n.kind = nkBlockExpr #nkIfStmt: n.kind := nkIfExpr; // this is not correct! else: nil |