From: Andreas Schwab Date: Wed, 19 Mar 2003 09:56:06 +0000 (+0000) Subject: * ldfile.c (ldfile_try_open_bfd): Pop lexer start condition after X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4f39e3028392284da899bc399b516c1ee67106e2;p=binutils-gdb.git * ldfile.c (ldfile_try_open_bfd): Pop lexer start condition after eof. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 66132bf07ec..395d7d29a72 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 84795e1f68c..34e468e3803 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;