* ldgram.y (mri_script_command): Surround processing of INCLUDE
authorAlan Modra <amodra@gmail.com>
Sat, 20 Oct 2001 13:49:00 +0000 (13:49 +0000)
committerAlan Modra <amodra@gmail.com>
Sat, 20 Oct 2001 13:49:00 +0000 (13:49 +0000)
commitb47c42085628603e890a783b8d2a612d19f66396
tree8ce3bd00189f2d2b7172db7735c5f7587b9e1fb9
parentfd521b4750cb0df1c841700637de89a7b25cccf3
* 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