style: use midrule only, not mid-rule

The code was already using midrule only, never mid_rule.  This is
simpler to remember, and matches a similar change we made from
look-ahead to lookahead.

* NEWS, doc/bison.texi, src/reader.c, src/scan-code.h, src/scan-code.l
* tests/actions.at, tests/c++.at, tests/existing.at: here.
This commit is contained in:
Akim Demaille
2018-09-19 22:00:46 +02:00
parent b7613423ce
commit bbfa419b89
8 changed files with 106 additions and 106 deletions

View File

@@ -409,15 +409,15 @@ m4_popdef([AT_TEST])
## ------------------------------------- ##
## Variants and Typed Mid-rule Actions. ##
## ------------------------------------- ##
## ------------------------------------ ##
## Variants and Typed Midrule Actions. ##
## ------------------------------------ ##
AT_SETUP([Variants and Typed Mid-rule Actions])
AT_SETUP([Variants and Typed Midrule Actions])
# See http://lists.gnu.org/archive/html/bug-bison/2017-06/msg00000.html.
#
# Check that typed mid-rule actions behave properly (pre-construction
# Check that typed midrule actions behave properly (pre-construction
# of $$ before the user action, support of %printer and %destructor,
# etc.).