oops, forgot to copy the string again when I went from strdup to save_string

This commit is contained in:
Bill Currie 2002-07-03 19:12:29 +00:00
parent 73b68e788e
commit 9332ea30bc

View file

@ -266,7 +266,7 @@ new_def (type_t *type, const char *name, scope_t *scope)
def->return_addr = __builtin_return_address (0);
def->name = name;
def->name = name ? save_string (name) : 0;
def->type = type;
def->scope = scope;