summaryrefslogtreecommitdiff
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
parent477f2e5fa91e4f93ae5341a5fc5b700f98b42c45 (diff)
downloadnasm-5ff39dc78d06991d4161698cfbd7b6084af4fb37.tar.gz
stdscan.c: clarify comment
There is a reason rn_warn isn't checked in this particular case...
-rw-r--r--stdscan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdscan.c b/stdscan.c
index 8295054a..30269e47 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;