diff --git a/asm/error.c b/asm/error.c index 1e241c7b..e5a03718 100644 --- a/asm/error.c +++ b/asm/error.c @@ -165,7 +165,7 @@ void reset_warnings(void) /* * This is called when processing a -w or -W option, or a warning directive. - * Returns on if if the action was successful. + * Returns ok if the action was successful. * * Special pseudo-warnings: * diff --git a/asm/parser.c b/asm/parser.c index 7950dd7b..d3956572 100644 --- a/asm/parser.c +++ b/asm/parser.c @@ -141,7 +141,7 @@ static void process_size_override(insn *result, operand *op) } /* - * Braced keywords are are parsed here. opmask and zeroing + * Braced keywords are parsed here. opmask and zeroing * decorators can be placed in any order. e.g. zmm1 {k2}{z} or zmm2 * {z}{k3} decorator(s) are placed at the end of an operand. */ diff --git a/asm/pragma.c b/asm/pragma.c index 42c15ee9..0049c069 100644 --- a/asm/pragma.c +++ b/asm/pragma.c @@ -276,7 +276,7 @@ void process_pragma(char *str) /* * Search the global pragma namespaces. This is done - * as a loop rather than than letting search_pragma_list() + * as a loop rather than letting search_pragma_list() * just run, because we don't want to keep searching if * we have a facility match, thus we want to call * search_pragma_list() individually for each namespace. diff --git a/asm/preproc.c b/asm/preproc.c index 10586bb9..9555aacd 100644 --- a/asm/preproc.c +++ b/asm/preproc.c @@ -5908,7 +5908,7 @@ static Token *expand_smacro_noreset(Token *org_tline) Token **tail = &tline; /* - * We hold warnings/errors until we are done this this loop. It is + * We hold warnings/errors until we are done in this loop. It is * possible for nuisance warnings to appear that disappear on later * passes. */ diff --git a/output/outelf.c b/output/outelf.c index d8f0f74b..85ff7832 100644 --- a/output/outelf.c +++ b/output/outelf.c @@ -2824,7 +2824,7 @@ static void stabs_generate(void) if (ptr) { /* * this is the first stab, its strx points to the filename of the - * the source-file, the n_desc field should be set to the number + * source-file, the n_desc field should be set to the number * of remaining stabs */ WRITE_STAB(sptr, fileidx[0], 0, 0, 0, stabstrlen);