c: improve the definition of public types

* data/c.m4 (b4_token_enum): Improve comments.
(b4_value_type_define, b4_location_type_define): New, extracted
from...
(b4_declare_yylstype): here.
Separate the typedefs from the union/struct definitions.
This commit is contained in:
Akim Demaille
2012-12-23 17:54:59 +01:00
parent ae8880deec
commit 4d9bdbe384
2 changed files with 33 additions and 17 deletions

View File

@@ -6092,7 +6092,7 @@ parsers. To comply with this tradition, when @code{api.prefix} is used,
@code{YYDEBUG} (not renamed) is used as a default value:
@example
/* Enabling traces. */
/* Debug traces. */
#ifndef CDEBUG
# if defined YYDEBUG
# if YYDEBUG