mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-12 05:43:03 +00:00
As in semantic actions, make @$ in %initial-action, %destructor, and
%printer imply %locations. * src/scan-code.l (SC_SYMBOL_ACTION): Set locations_flag = true when scanning @$. * tests/actions.at (AT_CHECK_ACTION_LOCATIONS): New macro supporting... (@$ in %initial-action implies %locations, @$ in %destructor implies %locations, @$ in %printer implies %locations): ... these new test cases.
This commit is contained in:
@@ -202,7 +202,10 @@ splice (\\[ \f\t\v]*\n)*
|
||||
obstack_sgrow (&obstack_for_string, "]b4_dollar_dollar[");
|
||||
self->is_value_used = true;
|
||||
}
|
||||
"@$" obstack_sgrow (&obstack_for_string, "]b4_at_dollar[");
|
||||
"@$" {
|
||||
obstack_sgrow (&obstack_for_string, "]b4_at_dollar[");
|
||||
locations_flag = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user