]> andersk Git - splint.git/commitdiff
Fixed internal bug reporting for redefinition of __func__
authorevans1629 <evans1629>
Tue, 28 Oct 2003 22:41:16 +0000 (22:41 +0000)
committerevans1629 <evans1629>
Tue, 28 Oct 2003 22:41:16 +0000 (22:41 +0000)
src/cpplib.c

index 66be54b05e2375c74b22b5b4ff88b2b73c79659c..fd8356f0f665ef586f20ada6f6d4d3bae7b745fd 100644 (file)
@@ -2837,7 +2837,7 @@ do_defineAux (cppReader *pfile, struct directive *keyword,
       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.  */
This page took 0.074536 seconds and 5 git commands to generate.