aboutsummaryrefslogtreecommitdiff
path: root/binutils/resrc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-05-05 23:19:32 +0000
committerAlan Modra <amodra@gmail.com>2002-05-05 23:19:32 +0000
commit405c98a4e3e0a6c0d9380852e2e82dbeca7edf56 (patch)
tree2d8fca5f241aebb12bbb2c86aa80a78e3bd910cf /binutils/resrc.c
parent3a036cdc8b97a561772f2a55a5467594adbd994d (diff)
downloadgdb-405c98a4e3e0a6c0d9380852e2e82dbeca7edf56.zip
gdb-405c98a4e3e0a6c0d9380852e2e82dbeca7edf56.tar.gz
gdb-405c98a4e3e0a6c0d9380852e2e82dbeca7edf56.tar.bz2
* 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 96de59c..fb0d36c 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 ();