mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-11 13:23:04 +00:00
More cleanup.
* src/reader.c (current_rule): Declare it static since it's no longer used outside this file. (grammar_current_rule_action_append): Remove redundant arguments from translate_rule_action invocation. * src/reader.h (current_rule): Remove this unused extern. * src/scan-code.h (translate_rule_action): Remove redundant arguments. * src/scan-code.l (translate_rule_action): Likewise.
This commit is contained in:
@@ -33,9 +33,9 @@ extern int max_left_semantic_context;
|
||||
|
||||
void code_scanner_free (void);
|
||||
|
||||
/* The action A contains $$, $1 etc. referring to the values
|
||||
/* The action of the rule R contains $$, $1 etc. referring to the values
|
||||
of the rule R. */
|
||||
const char *translate_rule_action (symbol_list *r, const char *a, location l);
|
||||
const char *translate_rule_action (symbol_list *r);
|
||||
|
||||
/* The action A refers to $$ and @$ only, referring to a symbol. */
|
||||
const char *translate_symbol_action (const char *a, location l);
|
||||
|
||||
Reference in New Issue
Block a user