summaryrefslogtreecommitdiff
path: root/binutils/resrc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-05-05 23:19:32 +0000
committerAlan Modra <amodra@bigpond.net.au>2002-05-05 23:19:32 +0000
commit59c950ab95ab98cd9fc795720658a29c14511166 (patch)
treed301d6a78c51412f6c474e83c46f9c17e07d3a14 /binutils/resrc.c
parenta41a8ed9b6013d3b390059e9a8f5ff8adbbce65a (diff)
downloadbinutils-redhat-59c950ab95ab98cd9fc795720658a29c14511166.tar.gz
* rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
call to rules that need no lookahead. Check for no lookahead. * rclex.l (get_string): Correct "strings" list handling. * resrc.c (read_rc_file): Discard strings.
Diffstat (limited to 'binutils/resrc.c')
-rw-r--r--binutils/resrc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/binutils/resrc.c b/binutils/resrc.c
index 96de59c3f1..fb0d36c099 100644
--- a/binutils/resrc.c
+++ b/binutils/resrc.c
@@ -481,6 +481,7 @@ read_rc_file (filename, preprocessor, preprocargs, language, use_temp_file)
rcparse_set_language (language);
yyin = cpp_pipe;
yyparse ();
+ rcparse_discard_strings ();
close_input_stream ();