From 4f39e3028392284da899bc399b516c1ee67106e2 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Wed, 19 Mar 2003 09:56:06 +0000 Subject: [PATCH] * ldfile.c (ldfile_try_open_bfd): Pop lexer start condition after eof. --- ld/ChangeLog | 5 +++++ ld/ldfile.c | 1 + 2 files changed, 6 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index 66132bf07e..395d7d29a7 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2003-03-19 Andreas Schwab + + * ldfile.c (ldfile_try_open_bfd): Pop lexer start condition after + eof. + 2003-03-18 Danny Smith * defilep.y (opt_base): If no number given, set to default diff --git a/ld/ldfile.c b/ld/ldfile.c index 84795e1f68..34e468e380 100644 --- a/ld/ldfile.c +++ b/ld/ldfile.c @@ -220,6 +220,7 @@ ldfile_try_open_bfd (attempt, entry) } token = yylex (); } + ldlex_popstate (); ldfile_assumed_script = FALSE; fclose (yyin); yyin = NULL;