From: Akim Demaille Date: Mon, 20 Sep 2004 12:24:45 +0000 (+0000) Subject: * data/yacc.c (YY_LOCATION_PRINT): Use YYLTYPE_IS_TRIVIAL as a X-Git-Tag: BISON-2_0~110 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/b8458aa5ccca039e48c37a3947df3025e3acbcee?hp=b8458aa5ccca039e48c37a3947df3025e3acbcee * data/yacc.c (YY_LOCATION_PRINT): Use YYLTYPE_IS_TRIVIAL as a clearer criterion to define it. (parse): Initialize the initial location when YYLTYPE_IS_TRIVIAL. When reducing on an empty RHS, use the latest stacked location as location. yylloc is not always available. * data/glr.c: Likewise. Also, honor initial-actions. ---