Use hash tables even for context-sensitive macros
commit072771e4a51c8794ce7a279da76f22bd4ba37957
authorH. Peter Anvin <hpa@zytor.com>
Thu, 22 May 2008 20:17:51 +0000 (22 13:17 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 22 May 2008 20:17:51 +0000 (22 13:17 -0700)
tree674c8d6da4cdd99c6e4b67ed5e9a00b9a037e908
parentbd420c70959b22a8cfb44501208aa771b540678f
Use hash tables even for context-sensitive macros

Normally, contexts aren't used with a large number of macros, but in
case someone does, do use hash tables for those as well.  This
simplifies the code somewhat, since *all* handling of macros is now
done via hash tables.

Future note: consider if it wouldn't be better to allow struct
hash_table to be allocated by the caller, instead of being allocated
by the hash table routine.
hashtbl.c
hashtbl.h
labels.c
preproc.c