aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-parse.in
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-02-18 23:44:20 +0000
committerRichard Stallman <rms@gnu.org>1993-02-18 23:44:20 +0000
commitca67f8689b6ca6a24272e8adac76c970a6e04c49 (patch)
tree57c7abcd3d296bd8556043524d5e4fee8e24d5c5 /gcc/c-parse.in
parentb1285ef4fae352ddc0c83af376f1f71d91374884 (diff)
downloadgcc-ca67f8689b6ca6a24272e8adac76c970a6e04c49.zip
gcc-ca67f8689b6ca6a24272e8adac76c970a6e04c49.tar.gz
gcc-ca67f8689b6ca6a24272e8adac76c970a6e04c49.tar.bz2
(program): After extdefs, pop any unpopped binding lvls.
From-SVN: r3486
Diffstat (limited to 'gcc/c-parse.in')
-rw-r--r--gcc/c-parse.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/c-parse.in b/gcc/c-parse.in
index e811303..494cdac 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