diff options
author | Araq <rumpf_a@web.de> | 2014-09-10 02:19:46 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-09-10 02:19:46 +0200 |
commit | 569fbe8c37d99a3adf966527b2650369dfec2dd0 (patch) | |
tree | 4db14d9430cddcd8a15e6b69bc5a9db49a2eef18 /compiler/semexprs.nim | |
parent | 490371977e8ff61ccebe505b33edada0d674ac25 (diff) | |
download | Nim-569fbe8c37d99a3adf966527b2650369dfec2dd0.tar.gz |
'pretty' command does not exist anymore; improvements for nimfix
Diffstat (limited to 'compiler/semexprs.nim')
-rw-r--r-- | compiler/semexprs.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/semexprs.nim b/compiler/semexprs.nim index 9b850bd86..95a60ef23 100644 --- a/compiler/semexprs.nim +++ b/compiler/semexprs.nim @@ -1897,6 +1897,7 @@ proc semBlock(c: PContext, n: PNode): PNode = addDecl(c, labl) n.sons[0] = newSymNode(labl, n.sons[0].info) suggestSym(n.sons[0].info, labl) + styleCheckDef(labl) n.sons[1] = semExpr(c, n.sons[1]) n.typ = n.sons[1].typ if isEmptyType(n.typ): n.kind = nkBlockStmt |