Mercurial > projects > ldc
diff dmd/mars.c @ 331:04e1b4930975 trunk
[svn r352] Implement SwitchErrorStatement. Fixes #52.
author | ChristianK |
---|---|
date | Fri, 11 Jul 2008 21:06:39 +0200 |
parents | 781af50846b2 |
children | aaade6ded589 |
line wrap: on
line diff
--- a/dmd/mars.c Fri Jul 11 20:23:42 2008 +0200 +++ b/dmd/mars.c Fri Jul 11 21:06:39 2008 +0200 @@ -264,7 +264,7 @@ global.params.useIn = 1; global.params.useOut = 1; global.params.useArrayBounds = 0; - global.params.useSwitchError = 0; + global.params.useSwitchError = 1; global.params.useInline = 0; // this one messes things up to a point where codegen breaks global.params.llvmInline = 0; // use this one instead to know if inline passes should be run global.params.obj = 1;