style: rename internal "stype" as "union_members" for clarity

"stype" is quite unclear, and it also collides with the former %define
variable that had the same name (replaced by api.value.type).

* src/parse-gram.y (stype): Rename as...
(union_members): this.
* data/bison.m4: Adjust.
(b4_user_stype): Rename as...
(b4_user_union_members): this.
* data/c++.m4, data/c.m4: Adjust.
* src/parse-gram.c: regen.
This commit is contained in:
Akim Demaille
2013-02-04 18:35:51 +01:00
parent 6112cb1802
commit c5dbd909d0
5 changed files with 8 additions and 8 deletions

View File

@@ -117,10 +117,10 @@ m4_define([b4_token_enums],
# Declare semantic_type.
m4_define([b4_semantic_type_declare],
[ /// Symbol semantic values.
m4_ifdef([b4_stype],
m4_ifdef([b4_union_members],
[ union semantic_type
{
b4_user_stype
b4_user_union_members
};],
[m4_if(b4_tag_seen_flag, 0,
[[ typedef int semantic_type;]],