diff options
author | Alan Modra <amodra@gmail.com> | 2002-05-05 23:19:32 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-05-05 23:19:32 +0000 |
commit | 405c98a4e3e0a6c0d9380852e2e82dbeca7edf56 (patch) | |
tree | 2d8fca5f241aebb12bbb2c86aa80a78e3bd910cf /binutils/rclex.l | |
parent | 3a036cdc8b97a561772f2a55a5467594adbd994d (diff) | |
download | fsf-binutils-gdb-405c98a4e3e0a6c0d9380852e2e82dbeca7edf56.zip fsf-binutils-gdb-405c98a4e3e0a6c0d9380852e2e82dbeca7edf56.tar.gz fsf-binutils-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.l | 2 |
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; } |