style: comment changes

* src/reader.c, src/scan-code.l: here.
This commit is contained in:
Akim Demaille
2019-02-02 10:44:39 +01:00
parent 76366e8e5c
commit dc654a925c
2 changed files with 3 additions and 3 deletions

View File

@@ -619,7 +619,7 @@ packgram (void)
/* If the midrule's $$ is set or its $n is used, remove the '$' from the
symbol name so that it's a user-defined symbol so that the default
%destructor and %printer apply. */
if (lhs->midrule_parent_rule
if (lhs->midrule_parent_rule /* i.e., symbol_is_dummy (lhs->content.sym). */
&& (lhs->action_props.is_value_used
|| (symbol_list_n_get (lhs->midrule_parent_rule,
lhs->midrule_parent_rhs_index)

View File

@@ -745,8 +745,8 @@ handle_action_at (symbol_list *rule, char *text, location at_loc)
| Initialize the scanner. |
`-------------------------*/
/* Translate the dollars and ats in \a self, in the context \a sc_context
(SC_RULE_ACTION, SC_SYMBOL_ACTION, INITIAL). */
/* Translate the '$...' and '@...' in \a self, in the context \a
sc_context (SC_RULE_ACTION, SC_SYMBOL_ACTION, INITIAL). */
static char const *
translate_action (code_props *self, int sc_context)