From ca67f8689b6ca6a24272e8adac76c970a6e04c49 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Thu, 18 Feb 1993 23:44:20 +0000 Subject: [PATCH] (program): After extdefs, pop any unpopped binding lvls. From-SVN: r3486 --- gcc/c-parse.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gcc/c-parse.in b/gcc/c-parse.in index e811303ef31..494cdac4a76 100644 --- a/gcc/c-parse.in +++ b/gcc/c-parse.in @@ -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