summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2016-05-10 03:08:09 -0700
committerH. Peter Anvin <hpa@zytor.com>2016-05-10 03:08:09 -0700
commit02f49f2c1e4c03ae95177ac2d46060d2cae63967 (patch)
tree39d64d11c7eefefdac3be729b1eed2c974419286
parent274cda81f8f644c3e8b859f778e61af34fd6e776 (diff)
downloadnasm-02f49f2c1e4c03ae95177ac2d46060d2cae63967.tar.gz
stdscan: put some error message strings in quotes
Put some error message strings inside `...' quotes to match existing usage. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--stdscan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdscan.c b/stdscan.c
index d6cf5d5d..33ccfece 100644
--- a/stdscan.c
+++ b/stdscan.c
@@ -114,7 +114,7 @@ static int stdscan_handle_brace(struct tokenval *tv)
if (!(tv->t_flag & TFLAG_BRC_ANY)) {
/* invalid token is put inside braces */
nasm_error(ERR_NONFATAL,
- "%s is not a valid decorator with braces", tv->t_charptr);
+ "`%s' is not a valid decorator with braces", tv->t_charptr);
tv->t_type = TOKEN_INVALID;
} else if (tv->t_flag & TFLAG_BRC_OPT) {
if (is_reg_class(OPMASKREG, tv->t_integer)) {
@@ -169,7 +169,7 @@ int stdscan(void *private_data, struct tokenval *tv)
if (unlikely(tv->t_flag & TFLAG_WARN)) {
nasm_error(ERR_WARNING|ERR_PASS1|ERR_WARN_PTR,
- "%s is not a NASM keyword", tv->t_charptr);
+ "`%s' is not a NASM keyword", tv->t_charptr);
}
if (likely(!(tv->t_flag & TFLAG_BRC))) {