Mercurial > projects > ddmd
diff dmd/ThrowStatement.d @ 174:af724d3510d7
lot os toCBuffer methods implemented
moved shared Type.* stuff into Global
author | korDen |
---|---|
date | Sun, 10 Oct 2010 03:47:23 +0400 |
parents | 60bb0fe4563e |
children | e3afd1303184 |
line wrap: on
line diff
--- a/dmd/ThrowStatement.d Sun Oct 10 01:55:35 2010 +0400 +++ b/dmd/ThrowStatement.d Sun Oct 10 03:47:23 2010 +0400 @@ -57,7 +57,10 @@ override void toCBuffer(OutBuffer buf, HdrGenState* hgs) { - assert(false); + buf.printf("throw "); + exp.toCBuffer(buf, hgs); + buf.writeByte(';'); + buf.writenl(); } override BE blockExit()