summaryrefslogtreecommitdiff
path: root/disasm
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2018-11-28 14:55:58 -0800
committerH. Peter Anvin <hpa@zytor.com>2018-11-28 14:55:58 -0800
commit1350620bf1dc474b39ca05eb9ba23813a90042b5 (patch)
tree3ba5001319b61d490d63f96bcd13c2efacd38fcf /disasm
parent099cc177398df447ee7153ab29337f00dbcc9d16 (diff)
downloadnasm-1350620bf1dc474b39ca05eb9ba23813a90042b5.tar.gz
ctype: create our own ctype table
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>
Diffstat (limited to 'disasm')
-rw-r--r--disasm/ndisasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/disasm/ndisasm.c b/disasm/ndisasm.c
index 2d0cf153..f2067a31 100644
--- a/disasm/ndisasm.c
+++ b/disasm/ndisasm.c
@@ -94,7 +94,7 @@ int main(int argc, char **argv)
int64_t offset;
FILE *fp;
- tolower_init();
+ nasm_ctype_init();
nasm_set_verror(ndisasm_verror);
iflag_clear_all(&prefer);