mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-03 08:41:02 +08:00
stdscan.c: clarify comment
There is a reason rn_warn isn't checked in this particular case...
This commit is contained in:
parent
477f2e5fa9
commit
5ff39dc78d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user