Changeset 3060 for branches


Ignore:
Timestamp:
Apr 8, 2007, 10:11:08 PM (18 years ago)
Author:
bird
Message:

Set structure field name to <anonymous> if it doesn't have any name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/libc-0.6/src/emx/src/emxomf/stabshll.c

    r3020 r3060  
    23772377              tf->type = t1;
    23782378            }
     2379
     2380          /* the debuggers croak if the field doesn't have a name. */
     2381
     2382          if ((!tf->name || !*tf->name)
     2383           && (!tf->sname || !*tf->sname)
     2384           && (!tf->mnglname || !*tf->mnglname))
     2385            tf->name = strpool_add (str_pool, "<anonymous>");
    23792386        }
    23802387      ++parse_ptr;
Note: See TracChangeset for help on using the changeset viewer.