mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-19 17:23:02 +00:00
style: fix spellos
* src/complain.c, src/print.c, src/print-xml.c, src/symtab.h: here.
This commit is contained in:
@@ -41,9 +41,9 @@ bool warnings_are_errors = false;
|
|||||||
/** Whether -Werror/-Wno-error was applied to a warning. */
|
/** Whether -Werror/-Wno-error was applied to a warning. */
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
errority_unset = 0, /** No explict status. */
|
errority_unset = 0, /** No explicit status. */
|
||||||
errority_disabled = 1, /** Explictly disabled with -Wno-error=foo. */
|
errority_disabled = 1, /** Explicitly disabled with -Wno-error=foo. */
|
||||||
errority_enabled = 2 /** Explictly enabled with -Werror=foo. */
|
errority_enabled = 2 /** Explicitly enabled with -Werror=foo. */
|
||||||
} errority;
|
} errority;
|
||||||
|
|
||||||
/** For each warning type, its errority. */
|
/** For each warning type, its errority. */
|
||||||
|
|||||||
@@ -329,7 +329,7 @@ print_reductions (FILE *out, int level, state *s)
|
|||||||
|
|
||||||
/*--------------------------------------------------------------.
|
/*--------------------------------------------------------------.
|
||||||
| Report on OUT all the actions (shifts, gotos, reductions, and |
|
| Report on OUT all the actions (shifts, gotos, reductions, and |
|
||||||
| explicit erros from %nonassoc) of S. |
|
| explicit errors from %nonassoc) of S. |
|
||||||
`--------------------------------------------------------------*/
|
`--------------------------------------------------------------*/
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
@@ -319,7 +319,7 @@ print_reductions (FILE *out, state *s)
|
|||||||
|
|
||||||
/*--------------------------------------------------------------.
|
/*--------------------------------------------------------------.
|
||||||
| Report on OUT all the actions (shifts, gotos, reductions, and |
|
| Report on OUT all the actions (shifts, gotos, reductions, and |
|
||||||
| explicit erros from %nonassoc) of S. |
|
| explicit errors from %nonassoc) of S. |
|
||||||
`--------------------------------------------------------------*/
|
`--------------------------------------------------------------*/
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
@@ -617,7 +617,7 @@ handle_action_dollar (symbol_list *rule, char *text, const location *dollar_loc)
|
|||||||
char *cp = fetch_type_name (text + 1, &type_name, dollar_loc);
|
char *cp = fetch_type_name (text + 1, &type_name, dollar_loc);
|
||||||
int n = parse_ref (cp, effective_rule, effective_rule_length,
|
int n = parse_ref (cp, effective_rule, effective_rule_length,
|
||||||
rule->midrule_parent_rhs_index, text, dollar_loc, '$');
|
rule->midrule_parent_rhs_index, text, dollar_loc, '$');
|
||||||
/* End type_name. Don't do it ealier: parse_ref depends on TEXT. */
|
/* End type_name. Don't do it earlier: parse_ref depends on TEXT. */
|
||||||
if (type_name)
|
if (type_name)
|
||||||
cp[-1] = '\0';
|
cp[-1] = '\0';
|
||||||
|
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ struct sym_content
|
|||||||
/** Its \c \%type's location. */
|
/** Its \c \%type's location. */
|
||||||
location type_loc;
|
location type_loc;
|
||||||
|
|
||||||
/** Any \c \%destructor (resp. \%printer) declared specificially for this
|
/** Any \c \%destructor (resp. \%printer) declared specifically for this
|
||||||
symbol.
|
symbol.
|
||||||
|
|
||||||
Access this field only through <tt>symbol</tt>'s interface functions. For
|
Access this field only through <tt>symbol</tt>'s interface functions. For
|
||||||
|
|||||||
Reference in New Issue
Block a user