forked from Imagelibrary/binutils-gdb
* stabsread.c (read_type): Treat a negative type number at the start
of a type as a type reference, not as a definition of a type with "50=" omitted. This makes things work on the RS/6000 again (the 14 Sep 1993 change broke it).
This commit is contained in:
@@ -1219,7 +1219,8 @@ read_type (pp, objfile)
|
||||
for instance in a two-dimensional array declared with type
|
||||
"ar1;1;10;ar1;1;10;4". */
|
||||
if ((**pp >= '0' && **pp <= '9')
|
||||
|| **pp == '(')
|
||||
|| **pp == '('
|
||||
|| **pp == '-')
|
||||
{
|
||||
if (read_type_number (pp, typenums) != 0)
|
||||
return error_type (pp);
|
||||
|
||||
Reference in New Issue
Block a user