mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-20 09:43:03 +00:00
c++, d, java: remove yyerrcode
It is not used at all. We will remove it also from yacc.c, but later (see TODO). * data/skeletons/lalr1.cc, data/skeletons/lalr1.d, * data/skeletons/lalr1.java (yyerrcode_): Remove.
This commit is contained in:
@@ -405,7 +405,6 @@ m4_define([b4_shared_declarations],
|
|||||||
yynnts_ = ]b4_nterms_number[, ///< Number of nonterminal symbols.
|
yynnts_ = ]b4_nterms_number[, ///< Number of nonterminal symbols.
|
||||||
yyfinal_ = ]b4_final_state_number[, ///< Termination state number.
|
yyfinal_ = ]b4_final_state_number[, ///< Termination state number.
|
||||||
yyterror_ = 1,
|
yyterror_ = 1,
|
||||||
yyerrcode_ = 256,
|
|
||||||
yyntokens_ = ]b4_tokens_number[ ///< Number of tokens.
|
yyntokens_ = ]b4_tokens_number[ ///< Number of tokens.
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -838,7 +838,6 @@ m4_popdef([b4_at_dollar])])dnl
|
|||||||
private static immutable int yyempty_ = -2;
|
private static immutable int yyempty_ = -2;
|
||||||
private static immutable int yyfinal_ = ]b4_final_state_number[;
|
private static immutable int yyfinal_ = ]b4_final_state_number[;
|
||||||
private static immutable int yyterror_ = 1;
|
private static immutable int yyterror_ = 1;
|
||||||
private static immutable int yyerrcode_ = 256;
|
|
||||||
private static immutable int yyntokens_ = ]b4_tokens_number[;
|
private static immutable int yyntokens_ = ]b4_tokens_number[;
|
||||||
|
|
||||||
private static immutable int yyuser_token_number_max_ = ]b4_user_token_number_max[;
|
private static immutable int yyuser_token_number_max_ = ]b4_user_token_number_max[;
|
||||||
|
|||||||
@@ -1033,7 +1033,6 @@ b4_dollar_popdef[]dnl
|
|||||||
private static final int yyempty_ = -2;
|
private static final int yyempty_ = -2;
|
||||||
private static final int yyfinal_ = ]b4_final_state_number[;
|
private static final int yyfinal_ = ]b4_final_state_number[;
|
||||||
private static final int yyterror_ = 1;
|
private static final int yyterror_ = 1;
|
||||||
private static final int yyerrcode_ = 256;
|
|
||||||
private static final int yyntokens_ = ]b4_tokens_number[;
|
private static final int yyntokens_ = ]b4_tokens_number[;
|
||||||
|
|
||||||
private static final int yyuser_token_number_max_ = ]b4_user_token_number_max[;
|
private static final int yyuser_token_number_max_ = ]b4_user_token_number_max[;
|
||||||
|
|||||||
Reference in New Issue
Block a user