mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user