(program): After extdefs, pop any unpopped binding lvls.
authorRichard Stallman <rms@gnu.org>
Thu, 18 Feb 1993 23:44:20 +0000 (23:44 +0000)
committerRichard Stallman <rms@gnu.org>
Thu, 18 Feb 1993 23:44:20 +0000 (23:44 +0000)
From-SVN: r3486

gcc/c-parse.in

index e811303ef31ce18b47f8f3f67ccf728e78258ef1..494cdac4a76dec3fb013313b7e43758579afe268 100644 (file)
@@ -256,6 +256,10 @@ end ifobjc
                }
        | extdefs
                {
+                 /* In case there were missing closebraces,
+                    get us back to the global binding level.  */
+                 while (! global_bindings_p ())
+                   poplevel (0, 0, 0);
 ifobjc
                  objc_finish ();
 end ifobjc