]> andersk Git - splint.git/blobdiff - src/context.c
Fixed test suite (temporarily) to run nested test cases
[splint.git] / src / context.c
index b56ab4b2fe82b6309573aa5762863bb89e6501ba..86b6af9116a73fc20016290a05e83687060f8978 100644 (file)
@@ -4432,8 +4432,15 @@ void context_checkGlobalScope (void)
 {
   if (gc.kind != CX_GLOBAL)
     {
-      llcontbug (message ("Not in global scope as expected: %q", context_unparse ()));
-      context_quietExitScopes ();
+      if (context_inMacro ())
+       {
+         ; /* evans 2001-10-14: Okay to be in a macro here! */ 
+       }
+      else
+       {
+         llcontbug (message ("Not in global scope as expected: %q", context_unparse ()));
+         context_quietExitScopes ();
+       }
     }
 }
 
This page took 0.03772 seconds and 4 git commands to generate.