diff options
author | Steve Chamberlain <steve@cygnus> | 1991-04-18 00:06:26 +0000 |
---|---|---|
committer | Steve Chamberlain <steve@cygnus> | 1991-04-18 00:06:26 +0000 |
commit | ac004870235360534206643bedf3591ea832b59f (patch) | |
tree | e202d73f5b6eddb237eb86bad8483ad44a06e1c7 /ld/ldgram.y | |
parent | 301dfc71d4d0d371cd747d11b81ea3b002e48876 (diff) | |
download | binutils-ac004870235360534206643bedf3591ea832b59f.zip binutils-ac004870235360534206643bedf3591ea832b59f.tar.gz binutils-ac004870235360534206643bedf3591ea832b59f.tar.bz2 |
Fixed some bugs.
Diffstat (limited to 'ld/ldgram.y')
-rw-r--r-- | ld/ldgram.y | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ld/ldgram.y b/ld/ldgram.y index 2e0e501..304b0b2 100644 --- a/ld/ldgram.y +++ b/ld/ldgram.y @@ -151,7 +151,11 @@ command_line: ; command_line_option: - SCRIPT ifile_list ENDSCRIPT + SCRIPT + { ldgram_in_script = true; } + ifile_list + { ldgram_in_script = false; } + ENDSCRIPT | OPTION_v { ldversion(); @@ -318,7 +322,7 @@ ifile_p1: | high_level_library | low_level_library | floating_point_support - | assignment end + | statement_anywhere | TARGET_K '(' NAME ')' { lang_add_target($3); } | SEARCH_DIR '(' filename ')' |