X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/db8837cbe1210e9df3da80472abee9b9896fd152..b98ec53ee42edc8c709505472faca84d1cd4b4c3:/src/symtab.c diff --git a/src/symtab.c b/src/symtab.c index 12aabb72..598f8ee2 100644 --- a/src/symtab.c +++ b/src/symtab.c @@ -35,16 +35,13 @@ symbol_new (const char *tag) res->tag = xstrdup (tag); res->type_name = NULL; - res->number = -1; + res->number = NUMBER_UNDEFINED; res->prec = 0; res->assoc = right_assoc; res->user_token_number = SUNDEF; res->alias = NULL; res->class = unknown_sym; - if (getenv ("DEBUG")) - fprintf (stderr, "Creating: nsyms = %d, ntokens = %d: %s\n", - nsyms, ntokens, tag); nsyms++; return res;