public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
992dc3e
)
avoid spurious error messages about missing #endif
author
ceriel
<none@none>
Wed, 1 Mar 1989 13:39:50 +0000
(13:39 +0000)
committer
ceriel
<none@none>
Wed, 1 Mar 1989 13:39:50 +0000
(13:39 +0000)
util/cpp/domacro.c
patch
|
blob
|
history
diff --git
a/util/cpp/domacro.c
b/util/cpp/domacro.c
index
d9db2b2
..
c7e2034
100644
(file)
--- a/
util/cpp/domacro.c
+++ b/
util/cpp/domacro.c
@@
-365,8
+365,9
@@
do_endif()
{
PushBack();
skipline();
- if (nestlevel
--
<= svnestlevel[nestcount])
+ if (nestlevel <= svnestlevel[nestcount])
error("#endif without corresponding #if");
+ else nestlevel--;
}
PRIVATE