Mercurial > projects > ldc
comparison 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 |
comparison
equal
deleted
inserted
replaced
330:5bea8a1ef905 | 331:04e1b4930975 |
---|---|
262 global.params.useAssert = 0; | 262 global.params.useAssert = 0; |
263 global.params.useInvariants = 1; | 263 global.params.useInvariants = 1; |
264 global.params.useIn = 1; | 264 global.params.useIn = 1; |
265 global.params.useOut = 1; | 265 global.params.useOut = 1; |
266 global.params.useArrayBounds = 0; | 266 global.params.useArrayBounds = 0; |
267 global.params.useSwitchError = 0; | 267 global.params.useSwitchError = 1; |
268 global.params.useInline = 0; // this one messes things up to a point where codegen breaks | 268 global.params.useInline = 0; // this one messes things up to a point where codegen breaks |
269 global.params.llvmInline = 0; // use this one instead to know if inline passes should be run | 269 global.params.llvmInline = 0; // use this one instead to know if inline passes should be run |
270 global.params.obj = 1; | 270 global.params.obj = 1; |
271 global.params.Dversion = 2; | 271 global.params.Dversion = 2; |
272 global.params.quiet = 1; | 272 global.params.quiet = 1; |