* data/bison.m4 (b4_percent_define_flag_if): Fix complaint.
* doc/bison.texinfo (Decl Summary): Fix.
* src/muscle_tab.c (muscle_percent_define_flag_if): Fix complaint.
* tests/input.at (Boolean %define variables): Update output.
* tests/skeletons.at (%define boolean variables: invalid skeleton
defaults): Rename to...
(%define Boolean variables: invalid skeleton defaults): ... this and
update output.
+2007-08-28 Joel E. Denny <jdenny@ces.clemson.edu>
+
+ Spell "boolean" as "Boolean". Reported by Akim Demaille.
+ * data/bison.m4 (b4_percent_define_flag_if): Fix complaint.
+ * doc/bison.texinfo (Decl Summary): Fix.
+ * src/muscle_tab.c (muscle_percent_define_flag_if): Fix complaint.
+ * tests/input.at (Boolean %define variables): Update output.
+ * tests/skeletons.at (%define boolean variables: invalid skeleton
+ defaults): Rename to...
+ (%define Boolean variables: invalid skeleton defaults): ... this and
+ update output.
+
2007-08-17 Joel E. Denny <jdenny@ces.clemson.edu>
In impure push mode, don't allow more than one yypstate to be allocated
[m4_expand_once([dnl
m4_pushdef([b4_loc], m4_indir([b4_percent_define_loc(]$1[)]))dnl
b4_complain_at(b4_loc,
- [[invalid value for %%define boolean variable `%s']],
+ [[invalid value for %%define Boolean variable `%s']],
[$1])dnl
m4_popdef([b4_loc])],
[[b4_percent_define_flag_if($1)]])])],
Omitting @code{"@var{value}"} is always equivalent to specifying it as
@code{""}.
-Some @var{variable}s may be used as booleans.
+Some @var{variable}s may be used as Booleans.
In this case, Bison will complain if the variable definition does not meet one
of the following four conditions:
{
muscle_insert (invalid_boolean_name, "");
complain_at(muscle_location_decode (loc_name),
- _("invalid value for %%define boolean variable `%s'"),
+ _("invalid value for %%define Boolean variable `%s'"),
variable);
}
free (value);
]])
AT_CHECK([[bison Input.y]], [1], [],
-[[Input.y:2.9-14: invalid value for %define boolean variable `public'
+[[Input.y:2.9-14: invalid value for %define Boolean variable `public'
]])
AT_CLEANUP
## ------------------------------------------------------ ##
-## %define boolean variables: invalid skeleton defaults. ##
+## %define Boolean variables: invalid skeleton defaults. ##
## ------------------------------------------------------ ##
-AT_SETUP([[%define boolean variables: invalid skeleton defaults]])
+AT_SETUP([[%define Boolean variables: invalid skeleton defaults]])
AT_CHECK([[mkdir tmp]])
]])
AT_CHECK([[bison input.y]], [[1]], [[]],
-[[[Bison:b4_percent_define_default]:0.0: invalid value for %define boolean variable `foo'
+[[[Bison:b4_percent_define_default]:0.0: invalid value for %define Boolean variable `foo'
]])
AT_CLEANUP