aboutsummaryrefslogtreecommitdiff
path: root/binutils/rclex.l
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/rclex.l
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/rclex.l')
-rw-r--r--binutils/rclex.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/rclex.l b/binutils/rclex.l
index 6e29e62..600e38e 100644
--- a/binutils/rclex.l
+++ b/binutils/rclex.l
@@ -452,7 +452,7 @@ get_string (len)
as->s = xmalloc (len);
as->next = strings;
- strings = as->next;
+ strings = as;
return as->s;
}