mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-02 02:45:37 +08:00
Modified Files:
ChangeLog stabsread.c * stabsread.c(read_struct_field): Fix the check when getting to member functions. (fix pr4000).
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
Mon Nov 29 15:34:58 1993 Kung Hsu (kung@cirdan.cygnus.com)
|
||||
|
||||
* stabsread.c(read_struct_field): Fix the check when getting to
|
||||
member functions.
|
||||
|
||||
Mon Nov 29 16:48:16 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
||||
|
||||
gcc -Wall -O lint:
|
||||
|
@ -2343,7 +2343,7 @@ read_struct_fields (fip, pp, type, objfile)
|
||||
}
|
||||
read_one_struct_field (fip, pp, p, type, objfile);
|
||||
}
|
||||
if (p[1] == ':')
|
||||
if (p[0] == ':' && p[1] == ':')
|
||||
{
|
||||
/* chill the list of fields: the last entry (at the head) is a
|
||||
partially constructed entry which we now scrub. */
|
||||
|
Reference in New Issue
Block a user