X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/e9071366c3104e4e4a2490c16d53e7eeef670f45..2ce4ed68c9b156fd353ada1a986bb61dfa42f60a:/src/scan-code.h diff --git a/src/scan-code.h b/src/scan-code.h index 8d979357..43073220 100644 --- a/src/scan-code.h +++ b/src/scan-code.h @@ -33,15 +33,15 @@ 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); +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); +char *translate_symbol_action (const char *a, location l); /* The action contains no special escapes, just protect M4 special symbols. */ -const char *translate_code (const char *a, location l); +char *translate_code (const char *a, location l); #endif /* !SCAN_CODE_H_ */