/* Symbol table manager for Bison,
- Copyright 1984, 1989, 2000 Free Software Foundation, Inc.
+ Copyright 1984, 1989, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of Bison, the GNU Compiler Compiler.
#include "system.h"
-#include "xalloc.h"
#include "symtab.h"
#include "gram.h"
res->next = NULL;
res->tag = xstrdup (tag);
res->type_name = NULL;
- res->value = 0;
+ res->number = -1;
res->prec = 0;
res->assoc = right_assoc;
- res->user_token_number = 0;
+ res->user_token_number = SUNDEF;
res->alias = NULL;
res->class = unknown_sym;
if (bp->type_name)
XFREE (bp->type_name);
#endif
+ XFREE (bp->tag);
XFREE (bp);
bp = bptmp;
}