diff options
| author | 2023-06-04 20:14:43 +0200 | |
|---|---|---|
| committer | 2023-06-04 20:14:43 +0200 | |
| commit | 92c125047769d66c71ba6874cc670c45595bc393 (patch) | |
| tree | 9bb1c9623447681e5e278b90ec4a7d7f17079cb9 /parse.c | |
| parent | 5f4daefd7554f04fd7cd3e416609ed021415a2f7 (diff) | |
; after do while
Diffstat (limited to 'parse.c')
| -rw-r--r-- | parse.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1689,6 +1689,7 @@ stmt(struct parser *pr, struct function *fn) expect(pr, ')', NULL); if (!isscalar(ex.ty)) error(&ex.span, "'while' condition is not a scalar (%ty)", ex.ty); + stmtterm(pr); EMITS { end = newblk(fn); if (!terminates) condjump(fn, &ex, begin, end); |