java: stype is obsoleted by api.value.type

This is consistent with the other %define variable names.

* data/java.m4: Use api.value.type instead of stype.
* doc/bison.texi, NEWS: Document that change.
* src/muscle-tab.c (muscle_percent_variable_update): Provide backward
compatibility.
* tests/java.at: Adjust.
This commit is contained in:
Akim Demaille
2012-12-31 11:13:50 +01:00
parent bdcbadbe37
commit 4119d1ea60
5 changed files with 26 additions and 22 deletions

View File

@@ -439,6 +439,7 @@ muscle_percent_variable_update (char const *variable, location variable_loc,
{ "lr.keep-unreachable-states", "lr.keep-unreachable-state", },
{ "lr.keep_unreachable_states", "lr.keep-unreachable-state", },
{ "namespace", "api.namespace", },
{ "stype", "api.value.type", },
{ "variant=", "api.value.type=variant", },
{ "variant=true", "api.value.type=variant", },
{ NULL, NULL, }