summaryrefslogtreecommitdiff
path: root/stdscan.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-05-30 10:26:28 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-05-30 10:26:28 -0700
commit5ff39dc78d06991d4161698cfbd7b6084af4fb37 (patch)
tree0d6db752db99502c3c17b6ed9f688234abde0fb5 /stdscan.c
parent477f2e5fa91e4f93ae5341a5fc5b700f98b42c45 (diff)
downloadnasm-5ff39dc78d06991d4161698cfbd7b6084af4fb37.tar.gz
nasm-5ff39dc78d06991d4161698cfbd7b6084af4fb37.tar.bz2
nasm-5ff39dc78d06991d4161698cfbd7b6084af4fb37.zip
stdscan.c: clarify comment
There is a reason rn_warn isn't checked in this particular case...
Diffstat (limited to 'stdscan.c')
-rw-r--r--stdscan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdscan.c b/stdscan.c
index 8295054..30269e4 100644
--- a/stdscan.c
+++ b/stdscan.c
@@ -183,7 +183,7 @@ int stdscan(void *private_data, struct tokenval *tv)
return tv->t_type = TOKEN_ERRNUM; /* unmatched quotes */
stdscan_bufptr++; /* skip over final quote */
tv->t_integer = readstrnum(r, tv->t_inttwo, &rn_warn);
- /* FIXME: rn_warn is not checked! */
+ /* rn_warn is not checked on purpose; it might not be a valid number */
return tv->t_type = TOKEN_NUM;
} else if (*stdscan_bufptr == ';') { /* a comment has happened - stay */
return tv->t_type = 0;