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();
|
||||
skipline();
|
||||
if (nestlevel-- <= svnestlevel[nestcount])
|
||||
if (nestlevel <= svnestlevel[nestcount])
|
||||
error("#endif without corresponding #if");
|
||||
else nestlevel--;
|
||||
}
|
||||
|
||||
PRIVATE
|
||||
|
|
Loading…
Reference in a new issue