Capitalize "Polish" when it's a proper adjective

This commit is contained in:
Paul Eggert
2017-09-22 09:09:31 -07:00
parent 4b314bdb6d
commit 96748b2bf8
2 changed files with 11 additions and 12 deletions

2
NEWS
View File

@@ -75,7 +75,7 @@ GNU Bison NEWS
extracted from the documentation: extracted from the documentation:
- rpcalc - rpcalc
Reverse polish calculator, a simple introductory example. Reverse Polish Calculator, a simple introductory example.
- mfcalc - mfcalc
Multi-function Calc, a calculator with memory and functions and located Multi-function Calc, a calculator with memory and functions and located
error messages. error messages.

View File

@@ -143,7 +143,7 @@ Writing GLR Parsers
Examples Examples
* RPN Calc:: Reverse polish notation calculator; * RPN Calc:: Reverse Polish Notation Calculator;
a first example with no operator precedence. a first example with no operator precedence.
* Infix Calc:: Infix (algebraic) notation calculator. * Infix Calc:: Infix (algebraic) notation calculator.
Operator precedence is introduced. Operator precedence is introduced.
@@ -1493,7 +1493,7 @@ simple program, all the rest of the program can go here.
@cindex examples, simple @cindex examples, simple
Now we show and explain several sample programs written using Bison: a Now we show and explain several sample programs written using Bison: a
reverse polish notation calculator, an algebraic (infix) notation Reverse Polish Notation calculator, an algebraic (infix) notation
calculator --- later extended to track ``locations'' --- calculator --- later extended to track ``locations'' ---
and a multi-function calculator. All and a multi-function calculator. All
produce usable, though limited, interactive desk-top calculators. produce usable, though limited, interactive desk-top calculators.
@@ -1503,7 +1503,7 @@ languages are written the same way. You can copy these examples into a
source file to try them. source file to try them.
@menu @menu
* RPN Calc:: Reverse polish notation calculator; * RPN Calc:: Reverse Polish Notation Calculator;
a first example with no operator precedence. a first example with no operator precedence.
* Infix Calc:: Infix (algebraic) notation calculator. * Infix Calc:: Infix (algebraic) notation calculator.
Operator precedence is introduced. Operator precedence is introduced.
@@ -1516,13 +1516,12 @@ source file to try them.
@node RPN Calc @node RPN Calc
@section Reverse Polish Notation Calculator @section Reverse Polish Notation Calculator
@cindex reverse polish notation @cindex Reverse Polish Notation
@cindex polish notation calculator
@cindex @code{rpcalc} @cindex @code{rpcalc}
@cindex calculator, simple @cindex calculator, simple
The first example is that of a simple double-precision @dfn{reverse polish The first example is that of a simple double-precision @dfn{Reverse Polish
notation} calculator (a calculator using postfix operators). This example Notation} calculator (a calculator using postfix operators). This example
provides a good starting point, since operator precedence is not an issue. provides a good starting point, since operator precedence is not an issue.
The second example will illustrate how operator precedence is handled. The second example will illustrate how operator precedence is handled.
@@ -1542,12 +1541,12 @@ The source code for this calculator is named @file{rpcalc.y}. The
@node Rpcalc Declarations @node Rpcalc Declarations
@subsection Declarations for @code{rpcalc} @subsection Declarations for @code{rpcalc}
Here are the C and Bison declarations for the reverse polish notation Here are the C and Bison declarations for the Reverse Polish Notation
calculator. As in C, comments are placed between @samp{/*@dots{}*/}. calculator. As in C, comments are placed between @samp{/*@dots{}*/}.
@comment file: rpcalc.y @comment file: rpcalc.y
@example @example
/* Reverse polish notation calculator. */ /* Reverse Polish Notation calculator. */
@group @group
%@{ %@{
@@ -1598,7 +1597,7 @@ declared is @code{NUM}, the token type for numeric constants.
@node Rpcalc Rules @node Rpcalc Rules
@subsection Grammar Rules for @code{rpcalc} @subsection Grammar Rules for @code{rpcalc}
Here are the grammar rules for the reverse polish notation calculator. Here are the grammar rules for the Reverse Polish Notation calculator.
@comment file: rpcalc.y @comment file: rpcalc.y
@example @example
@@ -13346,7 +13345,7 @@ A reentrant subprogram is a subprogram which can be in invoked any
number of times in parallel, without interference between the various number of times in parallel, without interference between the various
invocations. @xref{Pure Decl, ,A Pure (Reentrant) Parser}. invocations. @xref{Pure Decl, ,A Pure (Reentrant) Parser}.
@item Reverse polish notation @item Reverse Polish Notation
A language in which all operators are postfix operators. A language in which all operators are postfix operators.
@item Right recursion @item Right recursion