Mercurial > projects > ddmd
diff dmd/SwitchStatement.d @ 135:af1bebfd96a4 dmd2037
dmd 2.038
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Mon, 13 Sep 2010 22:19:42 +0100 |
parents | c77e9f4f1793 |
children | 438eaa11eed4 |
line wrap: on
line diff
--- a/dmd/SwitchStatement.d Sat Sep 11 13:03:39 2010 +0100 +++ b/dmd/SwitchStatement.d Mon Sep 13 22:19:42 2010 +0100 @@ -412,7 +412,7 @@ block_appendexp(mystate.switchBlock, econd); block_next(blx,BCswitch,null); - /// + // Corresponding free is in block_free targ_llong* pu = cast(targ_llong*) malloc(targ_llong.sizeof * (numcases + 1)); mystate.switchBlock.Bswitch = pu; /* First pair is the number of cases, and the default block