avoid spurious error messages about missing #endif
This commit is contained in:
parent
992dc3eb65
commit
847c27663b
1 changed files with 2 additions and 1 deletions
|
@ -365,8 +365,9 @@ do_endif()
|
||||||
{
|
{
|
||||||
PushBack();
|
PushBack();
|
||||||
skipline();
|
skipline();
|
||||||
if (nestlevel-- <= svnestlevel[nestcount])
|
if (nestlevel <= svnestlevel[nestcount])
|
||||||
error("#endif without corresponding #if");
|
error("#endif without corresponding #if");
|
||||||
|
else nestlevel--;
|
||||||
}
|
}
|
||||||
|
|
||||||
PRIVATE
|
PRIVATE
|
||||||
|
|
Loading…
Add table
Reference in a new issue