summaryrefslogtreecommitdiff
path: root/stdscan.c
AgeCommit message (Collapse)AuthorFilesLines
2007-09-18Slightly optimize the interface to nasm_token_hash()H. Peter Anvin1-5/+1
Instead of returning -1 from nasm_token_hash, set tv->t_type to TOKEN_ID and return TOKEN_ID, since that's what stdscan.c wants to do with it anyway. This allows us to simply tailcall nasm_token_hash().
2007-09-18Support C99-style hexadecimal floating point.H. Peter Anvin1-1/+3
Add support for C99-style hexadecimal floating point. The format is 0x <hexadecimal mantissa> p <binary exponent>. 0x1.0e+1 thus is the same as 2.0.
2007-08-31Minor cleanup; remove duplication of names.cH. Peter Anvin1-3/+3
2007-08-30Finishing touches on perfect hash tokenizer; actually turn the thing onH. Peter Anvin1-0/+201
Finish the perfect hash tokenizer, and actually enable it. Move stdscan() et al to a separate file, since it's not needed in any of the clients of nasmlib other than nasm itself. Run make alldeps.