mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-26 11:33:45 +08:00
* stabsread.c (read_enum_type): Exit loop for putting pending
enum symbols into the enum type correctly if we had no pending symbols on entry to read_enum_type.
This commit is contained in:
parent
7eb10f9ad1
commit
b6a40d0cf1
@ -1,3 +1,9 @@
|
||||
Sat Sep 9 08:21:52 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
|
||||
|
||||
* stabsread.c (read_enum_type): Exit loop for putting pending
|
||||
enum symbols into the enum type correctly if we had no pending
|
||||
symbols on entry to read_enum_type.
|
||||
|
||||
Fri Sep 8 12:57:41 1995 Kung Hsu <kung@mexican.cygnus.com>
|
||||
|
||||
* inferior.h: Add extern declaration of inferior_environ.
|
||||
|
@ -3137,7 +3137,7 @@ read_enum_type (pp, type, objfile)
|
||||
that in something like "enum {FOO, LAST_THING=FOO}" we print
|
||||
FOO, not LAST_THING. */
|
||||
|
||||
for (syms = *symlist, n = nsyms - 1; ; syms = syms->next)
|
||||
for (syms = *symlist, n = nsyms - 1; syms; syms = syms->next)
|
||||
{
|
||||
int last = syms == osyms ? o_nsyms : 0;
|
||||
int j = syms->nsyms;
|
||||
|
Loading…
Reference in New Issue
Block a user