* ldfile.c (ldfile_try_open_bfd): Pop lexer start condition after
authorAndreas Schwab <schwab@linux-m68k.org>
Wed, 19 Mar 2003 09:56:06 +0000 (09:56 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Wed, 19 Mar 2003 09:56:06 +0000 (09:56 +0000)
eof.

ld/ChangeLog
ld/ldfile.c

index 66132bf07ec2afaf81feb7dcbfcb2636c1586541..395d7d29a723bca01f11f5071dad90bcd8f9918b 100644 (file)
@@ -1,3 +1,8 @@
+2003-03-19  Andreas Schwab  <schwab@suse.de>
+
+       * ldfile.c (ldfile_try_open_bfd): Pop lexer start condition after
+       eof.
+
 2003-03-18  Danny Smith  <dannysmith@users.sourceforge,net>
 
        * defilep.y (opt_base): If no number given, set to default
index 84795e1f68c192cb6cf79008d004b1683d08ad79..34e468e3803609c406b62470141aad082b3b86c7 100644 (file)
@@ -220,6 +220,7 @@ ldfile_try_open_bfd (attempt, entry)
                        }
                      token = yylex ();
                    }
+                 ldlex_popstate ();
                  ldfile_assumed_script = FALSE;
                  fclose (yyin);
                  yyin = NULL;