* c-exp.y: sym->class to SYMBOL_CLASS (sym).

* dbxread.c (dbx_lookup_type):  Keep doubling size of typevector
until it is large enough.
This commit is contained in:
John Gilmore 1991-10-04 03:17:46 +00:00
parent f7cfc4a6a9
commit 5b0a744f98
3 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,10 @@
Thu Oct 3 09:33:26 1991 John Gilmore (gnu at cygnus.com)
* c-exp.y: sym->class to SYMBOL_CLASS (sym).
* dbxread.c (dbx_lookup_type): Keep doubling size of typevector
until it is large enough.
* dbxread.c (read_type): Handle error case slightly better.
Make complaint message not C++-specific.

View File

@ -608,7 +608,7 @@ variable: name_not_typename
if (sym)
{
switch (sym->class)
switch (SYMBOL_CLASS (sym))
{
case LOC_REGISTER:
case LOC_ARG:

View File

@ -626,7 +626,7 @@ dbx_lookup_type (typenums)
{
/* Type is defined outside of header files.
Find it in this object file's type vector. */
if (index >= type_vector_length)
while (index >= type_vector_length)
{
type_vector_length *= 2;
type_vector = (struct typevector *)