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:
parent
1d208eb3aa
commit
e9935d43b7
2 changed files with 6 additions and 1 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue