X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/41aca2e038810d45e67d0348f3ca91ac6e0f0ff3..6666f98f4f1997c1325197e6ecdf98d4227c849e:/ChangeLog diff --git a/ChangeLog b/ChangeLog index a7d45e23..a545983f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,23 @@ +2000-03-17 Akim Demaille + + Change the handling of @s so that they behave exactly like $s. + There is now a pseudo variable @$ (readble and writable), location + of the lhs of the rule (by default ranging from the location of + the first symbol of the rhs, to the location of the last symbol, + or, if the rhs is empty, YYLLOC). + + * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of + yyval. + (yyparse): When providing a default semantic action, provide a + default location action. + (after the $): No longer change `*YYLSP', just stack YYLOC the + same way you stack YYVAL. + * src/reader.c (read_declarations): Use warns. + (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'. + (copy_action, case '@'): Likewise. + Use a standard error message, to save useless work from + translators. + 2000-03-17 Akim Demaille * bison.s1: Formatting and cosmetics changes.