style: s/non-terminal/nonterminal/

I personally prefer 'non terminal', or 'non-terminal', but
'nonterminal' is the common spelling.

* data/glr.c, src/parse-gram.y, src/symtab.c, src/symtab.h,
* tests/input.at, doc/refcard.tex: here.
This commit is contained in:
Akim Demaille
2018-12-10 07:15:21 +01:00
parent b05aa7be2e
commit d68f05d75c
10 changed files with 25 additions and 25 deletions

View File

@@ -152,28 +152,28 @@ AT_BISON_CHECK([-fcaret input.y], [1], [],
[[input.y:1.1-6: warning: deprecated directive, use '%type' [-Wdeprecated]
%nterm expr "expression";
^^^^^^
input.y:1.13-24: error: non-terminals cannot be given a string alias
input.y:1.13-24: error: nonterminals cannot be given a string alias
%nterm expr "expression";
^^^^^^^^^^^^
input.y:2.1-6: warning: deprecated directive, use '%type' [-Wdeprecated]
%nterm term 123;
^^^^^^
input.y:2.13-15: error: non-terminals cannot be given an explicit number
input.y:2.13-15: error: nonterminals cannot be given an explicit number
%nterm term 123;
^^^
input.y:3.1-6: warning: deprecated directive, use '%type' [-Wdeprecated]
%nterm fact 124 "factor";
^^^^^^
input.y:3.13-15: error: non-terminals cannot be given an explicit number
input.y:3.13-15: error: nonterminals cannot be given an explicit number
%nterm fact 124 "factor";
^^^
input.y:3.17-24: error: non-terminals cannot be given a string alias
input.y:3.17-24: error: nonterminals cannot be given a string alias
%nterm fact 124 "factor";
^^^^^^^^
input.y:4.1-6: warning: deprecated directive, use '%type' [-Wdeprecated]
%nterm '+' '*';
^^^^^^
input.y:4.8-10: error: character literals cannot be non-terminals
input.y:4.8-10: error: character literals cannot be nonterminals
%nterm '+' '*';
^^^
input.y:5.1-6: warning: deprecated directive, use '%type' [-Wdeprecated]