mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-10 04:43:03 +00:00
muscle: check the kind of api.prefix, api.location.type
* data/bison.m4: Check api.prefix.
* data/c++.m4: Check api.location.type.
* doc/bison.texi: Fix uses of api.value.type, api.prefix, api.location.type.
Document {...} values for %define.
* src/parse-gram.y: Fix use of api.prefix.
* tests/calc.at: Fix uses of api.location.type.
* tests/input.at: Check api.prefix, and api.location.type.
This commit is contained in:
@@ -1027,6 +1027,7 @@ m4_define_default([b4_location_initial_line], [1])
|
||||
## --------------- ##
|
||||
|
||||
# api.prefix >< %name-prefix.
|
||||
b4_percent_define_check_kind([api.prefix], [code], [deprecated])
|
||||
b4_percent_define_ifdef([api.prefix],
|
||||
[m4_ifdef([b4_prefix],
|
||||
[b4_complain_at(b4_percent_define_get_loc([api.prefix]),
|
||||
|
||||
@@ -29,6 +29,7 @@ m4_define([b4_comment],
|
||||
## Checks. ##
|
||||
## -------- ##
|
||||
|
||||
b4_percent_define_check_kind([api.location.type], [code], [deprecated])
|
||||
b4_percent_define_check_kind([api.namespace], [code], [deprecated])
|
||||
|
||||
## ---------------- ##
|
||||
|
||||
Reference in New Issue
Block a user