From: Paul Eggert Date: Sun, 2 Mar 2003 06:55:15 +0000 (+0000) Subject: (code_start): Initialize it to scanner_cursor, X-Git-Tag: BISON-2_0~373 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/a2bc9dbc7b577c891811dd96f66a8e0daa66bf93?hp=a2bc9dbc7b577c891811dd96f66a8e0daa66bf93 (code_start): Initialize it to scanner_cursor, not loc->end, since loc->end might contain garbage and this leads to undefined behavior on some platforms. (id_loc, token_start): Use (IF_LINTed) initial values that do not depend on *loc, so that the reader doesn't give the the false impression that *loc is initialized. ("%%"): Do not bother setting code_start, since its value does not survive the return. ---