diff options
Diffstat (limited to 'usr.bin/indent')
-rw-r--r-- | usr.bin/indent/parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/indent/parse.c b/usr.bin/indent/parse.c index f3a4b44..eeeb30a 100644 --- a/usr.bin/indent/parse.c +++ b/usr.bin/indent/parse.c @@ -310,7 +310,7 @@ reduce() case whilestmt: /* while (...) on top */ if (ps.p_stack[ps.tos - 1] == dohead) { /* it is termination of a do while */ - ps.p_stack[--ps.tos] = stmt; + ps.tos -= 2; break; } else |