mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Improve handling of "do ... while" following "else". This change
eliminates some incorrect "Unmatched 'else'" errors.
This commit is contained in:
parent
99ee419296
commit
34ba737933
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue