* ldgram.y (mri_script_command): Surround processing of INCLUDE
commitc377c93bc762f8cbd46c8e6bb13313b5a2dc4ae4
authorAlan Modra <amodra@bigpond.net.au>
Sat, 20 Oct 2001 13:49:00 +0000 (20 13:49 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Sat, 20 Oct 2001 13:49:00 +0000 (20 13:49 +0000)
tree8791ad68978a07e7d8d8bc5a33ab536409648209
parentc4b74e94bf6ecadf739c64007f119f853caabccd
* ldgram.y (mri_script_command): Surround processing of INCLUDE
with ldlex_script, ldlex_popstate.
(ifile_p1): Likewise.
* ldlex.l (EOF): Don't BEGIN(SCRIPT).  Restore lineno from the
correct slot.
(lex_push_file): Save current lineno to lineno_stack.  Set lineno
to 1.  Don't BEGIN(SCRIPT).
(lex_redirect): Similarly.
* ldmain.c (main): Set yydebug non-zero if YYDEBUG.
ld/ChangeLog
ld/ldgram.y
ld/ldlex.l
ld/ldmain.c