summaryrefslogtreecommitdiff
path: root/include/nctype.h
Commit message (Collapse)AuthorAgeFilesLines
* Restore the ability to have ? in identifiers, except ? itselfH. Peter Anvin (Intel)2018-12-141-2/+1
| | | | | | | | | | | | | | ? in identifiers turns out to be used in the field even in non-TASM mode. Resolve this by allowing it in an identifier still, but treat '?' by itself the same as we would a keyword, meaning that it needs to be separated from other identifier characters. In other words: a ? b : c ; conditional expression a?b:c ; seg:off expression seg = a?b, off = c Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* nctype: add nasm_isquote()H. Peter Anvin2018-11-281-12/+17
| | | | | | Add nasm_isquote() to test for a NASM quoted string. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* ctype: create our own ctype tableH. Peter Anvin2018-11-281-0/+123
Create our own ctype table where we can do the tests we want to do cheaply, instead of calling ctype functions and then adding additional tests all over the code. Signed-off-by: H. Peter Anvin <hpa@zytor.com>