aboutsummaryrefslogtreecommitdiff
path: root/ld/ldfile.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2003-03-19 09:56:06 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2003-03-19 09:56:06 +0000
commit4f39e3028392284da899bc399b516c1ee67106e2 (patch)
tree2f70a123fe9579351f7fe65063da5d4e31f13c26 /ld/ldfile.c
parent3e1d7f19ecf7df39ecfbd6659f3a3e6c1369cb6c (diff)
downloadgdb-4f39e3028392284da899bc399b516c1ee67106e2.zip
gdb-4f39e3028392284da899bc399b516c1ee67106e2.tar.gz
gdb-4f39e3028392284da899bc399b516c1ee67106e2.tar.bz2
* ldfile.c (ldfile_try_open_bfd): Pop lexer start condition after
eof.
Diffstat (limited to 'ld/ldfile.c')
-rw-r--r--ld/ldfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/ldfile.c b/ld/ldfile.c
index 84795e1..34e468e 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;