freebsd-ports/devel/splint/files/patch-src::cpplib.c
Pav Lucistnik 7e191ae13c - Add fix for parsing FreeBSD's sys/cdefs.h ('__func__')
- Bump portrevision

PR:		ports/61131
Submitted by:	Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
Obtained from:	Splint CVS
2004-01-09 20:26:17 +00:00

11 lines
334 B
C

--- src/cpplib.c.orig Fri Jan 9 16:44:23 2004
+++ src/cpplib.c Fri Jan 9 16:44:51 2004
@@ -2828,7 +2828,7 @@
else if (hp->type == T_CONST)
ok = !CPPOPTIONS (pfile)->done_initializing;
else {
- BADBRANCH;
+ ok = FALSE; /* Redefining anything else is bad. */
}
/* Print the warning if it's not ok. */