Mercurial > projects > ddmd
comparison dmd/DefaultStatement.d @ 64:4290d870944a
More fixes
author | korDen |
---|---|
date | Mon, 23 Aug 2010 20:29:15 +0400 |
parents | cab4c37afb89 |
children | 2e2a5c3f943a |
comparison
equal
deleted
inserted
replaced
63:cab4c37afb89 | 64:4290d870944a |
---|---|
59 return this; | 59 return this; |
60 } | 60 } |
61 | 61 |
62 bool usesEH() | 62 bool usesEH() |
63 { | 63 { |
64 assert(false); | 64 return statement.usesEH(); |
65 } | 65 } |
66 | 66 |
67 BE blockExit() | 67 BE blockExit() |
68 { | 68 { |
69 return statement.blockExit(); | 69 return statement.blockExit(); |
79 assert(false); | 79 assert(false); |
80 } | 80 } |
81 | 81 |
82 void toCBuffer(OutBuffer buf, HdrGenState* hgs) | 82 void toCBuffer(OutBuffer buf, HdrGenState* hgs) |
83 { | 83 { |
84 assert(false); | 84 buf.writestring("default:\n"); |
85 statement.toCBuffer(buf, hgs); | |
85 } | 86 } |
86 | 87 |
87 Statement inlineScan(InlineScanState* iss) | 88 Statement inlineScan(InlineScanState* iss) |
88 { | 89 { |
89 if (statement) | 90 if (statement) |