doc: fix incorrect section title

Reported by Gaurav Singh <gaurav.singh199709@yahoo.com>.
https://lists.gnu.org/r/bug-bison/2020-11/msg00000.html

* doc/bison.texi (Rpcalc Expr): Rename as...
(Rpcalc Exp): this, as the nterm is named 'exp'.
This commit is contained in:
Akim Demaille
2020-11-01 09:00:50 +01:00
parent 7c6e7bd300
commit bd6b046ce7

View File

@@ -303,7 +303,7 @@ Grammar Rules for @code{rpcalc}
* Rpcalc Input:: Explanation of the @code{input} nonterminal * Rpcalc Input:: Explanation of the @code{input} nonterminal
* Rpcalc Line:: Explanation of the @code{line} nonterminal * Rpcalc Line:: Explanation of the @code{line} nonterminal
* Rpcalc Expr:: Explanation of the @code{expr} nonterminal * Rpcalc Exp:: Explanation of the @code{exp} nonterminal
Location Tracking Calculator: @code{ltcalc} Location Tracking Calculator: @code{ltcalc}
@@ -1788,7 +1788,7 @@ rule are referred to as @code{$1}, @code{$2}, and so on.
@menu @menu
* Rpcalc Input:: Explanation of the @code{input} nonterminal * Rpcalc Input:: Explanation of the @code{input} nonterminal
* Rpcalc Line:: Explanation of the @code{line} nonterminal * Rpcalc Line:: Explanation of the @code{line} nonterminal
* Rpcalc Expr:: Explanation of the @code{expr} nonterminal * Rpcalc Exp:: Explanation of the @code{exp} nonterminal
@end menu @end menu
@node Rpcalc Input @node Rpcalc Input
@@ -1853,8 +1853,8 @@ uninitialized (its value will be unpredictable). This would be a bug if
that value were ever used, but we don't use it: once rpcalc has printed the that value were ever used, but we don't use it: once rpcalc has printed the
value of the user's input line, that value is no longer needed. value of the user's input line, that value is no longer needed.
@node Rpcalc Expr @node Rpcalc Exp
@subsubsection Explanation of @code{expr} @subsubsection Explanation of @code{exp}
The @code{exp} grouping has several rules, one for each kind of expression. The @code{exp} grouping has several rules, one for each kind of expression.
The first rule handles the simplest expressions: those that are just The first rule handles the simplest expressions: those that are just