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:
Joel E. Denny
2007-02-10 22:28:23 +00:00
parent 1cfe1ed7c8
commit e785ccf715
3 changed files with 74 additions and 1 deletions

View File

@@ -1,3 +1,14 @@
2007-02-10 Joel E. Denny <jdenny@ces.clemson.edu>
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.
2007-02-07 Paul Eggert <eggert@cs.ucla.edu>
Undo most of the 2007-02-03 change, switching to the strcase module