]> git.saurik.com Git - bison.git/commitdiff
(derives_compute): Do not subtract NTOKENS from
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 13 Dec 2002 04:50:32 +0000 (04:50 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 13 Dec 2002 04:50:32 +0000 (04:50 +0000)
the pointer DSET returned by malloc; this isn't portable.
Instead, always use DSET[i - NTOKENS] rather than DSET[i].
Similarly for DERIVES.

(derives_compute): Do not bother invoking
int_of_rule_number, since rule numbers are integers.

All uses of XCALLOC, XMALLOC, and XREALLOC changed to use new macros
CALLOC, MALLOC, REALLOC.  All uses of XFREE changed to free.


No differences found