strlist: use a hash table
commitf7106d06e4e4865fab2fb704736ab2addc967bd7
authorH. Peter Anvin (Intel) <hpa@zytor.com>
Thu, 25 Oct 2018 19:33:58 +0000 (25 12:33 -0700)
committerH. Peter Anvin (Intel) <hpa@zytor.com>
Thu, 25 Oct 2018 19:33:58 +0000 (25 12:33 -0700)
treec9a88bfdc42c7ae75289f5621571eafb861a080b
parentc7922f95af706ff508c8e652f1f2dcb70c3f4a4c
strlist: use a hash table

Use a hash table to enforce uniqueness in a string list. It is still
an ordered list, however, and can be walked in insertion order.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
asm/nasm.c
asm/preproc-nop.c
asm/preproc.c
include/nasm.h
include/strlist.h
nasmlib/strlist.c
output/outobj.c