Mercurial > projects > ldc
view lphobos/phobos.d @ 267:c43911baea21 trunk
[svn r288] Let return statements start a new basic block after terminating the current one.
This fixes problems such as
void main()
{ return; return; }
author | ChristianK |
---|---|
date | Sun, 15 Jun 2008 18:37:23 +0200 |
parents | 5825d48b27d1 |
children | 373489eeaf90 |
line wrap: on
line source
module phobos; import std.array, std.base64, std.ctype, std.format, std.intrinsic, std.math, std.moduleinit, std.outofmemory, std.stdarg, std.stdint, std.stdio, std.string, std.thread, std.traits, std.uni, std.utf, std.c.fenv, std.c.locale, std.c.math, std.c.process, std.c.stdarg, std.c.stddef, std.c.stdio, std.c.stdlib, std.c.string, std.c.time; version(linux) { import std.c.linux.linux, std.c.linux.linuxextern, std.c.linux.pthread, std.c.linux.socket; }