From: Paul Eggert Date: Fri, 13 Dec 2002 04:50:32 +0000 (+0000) Subject: (derives_compute): Do not subtract NTOKENS from X-Git-Tag: BISON-1_875~101 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/69cecfeb3856a95f13a50829607f98bef646a413?hp=69cecfeb3856a95f13a50829607f98bef646a413 (derives_compute): Do not subtract NTOKENS from 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. ---