[nasm:master] preproc, doc: change a few remaining TOK_ -> TOKEN_ in comments only
nasm-bot for H. Peter Anvin (Intel)
hpa at zytor.com
Tue Jul 14 11:54:06 PDT 2020
Commit-ID: ecd4ea94b61b6d32985eed4e7d7bea113498caef
Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=ecd4ea94b61b6d32985eed4e7d7bea113498caef
Author: H. Peter Anvin (Intel) <hpa at zytor.com>
AuthorDate: Tue, 14 Jul 2020 11:51:35 -0700
Committer: H. Peter Anvin (Intel) <hpa at zytor.com>
CommitDate: Tue, 14 Jul 2020 11:51:35 -0700
preproc, doc: change a few remaining TOK_ -> TOKEN_ in comments only
A handful of comments still had TOK_ instead of TOKEN_.
Signed-off-by: H. Peter Anvin (Intel) <hpa at zytor.com>
---
asm/preproc.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/asm/preproc.c b/asm/preproc.c
index e8e93341..c1c72193 100644
--- a/asm/preproc.c
+++ b/asm/preproc.c
@@ -112,7 +112,7 @@ typedef struct Cond Cond;
* This is the internal form which we break input lines up into.
* Typically stored in linked lists.
*
- * Note that `type' serves a double meaning: TOK_SMAC_START_PARAMS is
+ * Note that `type' serves a double meaning: TOKEN_SMAC_START_PARAMS is
* not necessarily used as-is, but is also used to encode the number
* and expansion type of substituted parameter. So in the definition
*
@@ -122,12 +122,12 @@ typedef struct Cond Cond;
* tok_smac_param(0) but the one representing `y' will be
* tok_smac_param(1); see the accessor functions below.
*
- * TOK_INTERNAL_STR is a string which has been unquoted, but should
+ * TOKEN_INTERNAL_STR is a string which has been unquoted, but should
* be treated as if it was a quoted string. The code is free to change
- * one into the other at will. TOK_NAKED_STR is a text token which
+ * one into the other at will. TOKEN_NAKED_STR is a text token which
* should be treated as a string, but which MUST NOT be turned into a
- * quoted string. TOK_INTERNAL_STRs can contain any character,
- * including NUL, but TOK_NAKED_STR must be a valid C string.
+ * quoted string. TOKEN_INTERNAL_STRs can contain any character,
+ * including NUL, but TOKEN_NAKED_STR must be a valid C string.
*/
static inline enum token_type tok_smac_param(int param)
More information about the Nasm-commits
mailing list