[nasm:master] Fix some comments
nasm-bot for Elyes HAOUAS
ehaouas at noos.fr
Mon Nov 7 17:12:22 PST 2022
Commit-ID: 1dfbfa408d35520b0d5a33d1be7ef25117f638c7
Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=1dfbfa408d35520b0d5a33d1be7ef25117f638c7
Author: Elyes HAOUAS <ehaouas at noos.fr>
AuthorDate: Sun, 9 Jan 2022 18:27:53 +0100
Committer: Elyes HAOUAS <ehaouas at noos.fr>
CommitDate: Sun, 9 Jan 2022 18:27:53 +0100
Fix some comments
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
asm/error.c | 2 +-
asm/parser.c | 2 +-
asm/pragma.c | 2 +-
asm/preproc.c | 2 +-
output/outelf.c | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
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 5b00b0cf..7a20ffa0 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 cb1669da..4bdbbc1e 100644
--- a/asm/preproc.c
+++ b/asm/preproc.c
@@ -5903,7 +5903,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 f47728ed..12987ae4 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);
More information about the Nasm-commits
mailing list