diff --git a/src/complain.c b/src/complain.c index 04e22708..f15c6b8b 100644 --- a/src/complain.c +++ b/src/complain.c @@ -41,9 +41,9 @@ bool warnings_are_errors = false; /** Whether -Werror/-Wno-error was applied to a warning. */ typedef enum { - errority_unset = 0, /** No explict status. */ - errority_disabled = 1, /** Explictly disabled with -Wno-error=foo. */ - errority_enabled = 2 /** Explictly enabled with -Werror=foo. */ + errority_unset = 0, /** No explicit status. */ + errority_disabled = 1, /** Explicitly disabled with -Wno-error=foo. */ + errority_enabled = 2 /** Explicitly enabled with -Werror=foo. */ } errority; /** For each warning type, its errority. */ diff --git a/src/print-xml.c b/src/print-xml.c index a7d165dc..61fb93b4 100644 --- a/src/print-xml.c +++ b/src/print-xml.c @@ -329,7 +329,7 @@ print_reductions (FILE *out, int level, state *s) /*--------------------------------------------------------------. | Report on OUT all the actions (shifts, gotos, reductions, and | -| explicit erros from %nonassoc) of S. | +| explicit errors from %nonassoc) of S. | `--------------------------------------------------------------*/ static void diff --git a/src/print.c b/src/print.c index b0c89319..259c16b3 100644 --- a/src/print.c +++ b/src/print.c @@ -319,7 +319,7 @@ print_reductions (FILE *out, state *s) /*--------------------------------------------------------------. | Report on OUT all the actions (shifts, gotos, reductions, and | -| explicit erros from %nonassoc) of S. | +| explicit errors from %nonassoc) of S. | `--------------------------------------------------------------*/ static void diff --git a/src/scan-code.l b/src/scan-code.l index ef667146..39cb4539 100644 --- a/src/scan-code.l +++ b/src/scan-code.l @@ -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); int n = parse_ref (cp, effective_rule, effective_rule_length, 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) cp[-1] = '\0'; diff --git a/src/symtab.h b/src/symtab.h index d6de8023..f3421774 100644 --- a/src/symtab.h +++ b/src/symtab.h @@ -130,7 +130,7 @@ struct sym_content /** Its \c \%type's location. */ location type_loc; - /** Any \c \%destructor (resp. \%printer) declared specificially for this + /** Any \c \%destructor (resp. \%printer) declared specifically for this symbol. Access this field only through symbol's interface functions. For