X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/f041e30b91baed171ee7423d89f5bf4361e32777..6c5f863aec6753f9df7225a5746e82fa82ad5c4c:/src/conflicts.c diff --git a/src/conflicts.c b/src/conflicts.c index 57d42d01..fcfa735d 100644 --- a/src/conflicts.c +++ b/src/conflicts.c @@ -304,9 +304,9 @@ conflicts_solve (void) { state_number i; /* List of lookaheads on which we explicitly raise a syntax error. */ - symbol **errors = XMALLOC (symbol *, ntokens + 1); + symbol **errors = MALLOC (errors, ntokens + 1); - conflicts = XCALLOC (char, nstates); + CALLOC (conflicts, nstates); shiftset = bitset_create (ntokens, BITSET_FIXED); lookaheadset = bitset_create (ntokens, BITSET_FIXED); obstack_init (&solved_conflicts_obstack);