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:
Kung Hsu 1993-11-29 23:40:31 +00:00
parent 1d208eb3aa
commit e9935d43b7
2 changed files with 6 additions and 1 deletions

View file

@ -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. */