avoid spurious error messages about missing #endif
This commit is contained in:
parent
992dc3eb65
commit
847c27663b
@ -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…
x
Reference in New Issue
Block a user