Mercurial > projects > ldc
comparison dmd/statement.c @ 159:5acec6b2eef8 trunk
[svn r175] merged dmd 1.029
author | ChristianK |
---|---|
date | Thu, 01 May 2008 15:15:28 +0200 |
parents | 86d3bb8ca33e |
children | a58d8f4b84df |
comparison
equal
deleted
inserted
replaced
158:287540c5f05e | 159:5acec6b2eef8 |
---|---|
520 } | 520 } |
521 | 521 |
522 int CompoundStatement::fallOffEnd() | 522 int CompoundStatement::fallOffEnd() |
523 { int falloff = TRUE; | 523 { int falloff = TRUE; |
524 | 524 |
525 //printf("CompoundStatement::fallOffEnd()\n"); | 525 //printf("CompoundStatement::fallOffEnd() %s\n", toChars()); |
526 for (int i = 0; i < statements->dim; i++) | 526 for (int i = 0; i < statements->dim; i++) |
527 { Statement *s = (Statement *)statements->data[i]; | 527 { Statement *s = (Statement *)statements->data[i]; |
528 | 528 |
529 if (!s) | 529 if (!s) |
530 continue; | 530 continue; |
3249 } | 3249 } |
3250 | 3250 |
3251 int TryFinallyStatement::fallOffEnd() | 3251 int TryFinallyStatement::fallOffEnd() |
3252 { int result; | 3252 { int result; |
3253 | 3253 |
3254 result = body->fallOffEnd(); | 3254 result = body ? body->fallOffEnd() : TRUE; |
3255 // if (finalbody) | 3255 // if (finalbody) |
3256 // result = finalbody->fallOffEnd(); | 3256 // result = finalbody->fallOffEnd(); |
3257 return result; | 3257 return result; |
3258 } | 3258 } |
3259 | 3259 |