bugfix: rendering of case statements has been broken recently; remaining idents with wrong underscores in the wrappers

This commit is contained in:
Andreas Rumpf 2010-02-02 23:20:21 +01:00
commit e62ef0ff60
10 changed files with 330 additions and 301 deletions

View file

@ -585,7 +585,6 @@ proc gcase(g: var TSrcGen, n: PNode) =
gsub(g, n.sons[0])
gcoms(g)
optNL(g)
last = 0
gsons(g, n, c, 1, last)
if last == - 2:
initContext(c)