Use enumerations where practical to ease debugging
authorH. Peter Anvin <hpa@zytor.com>
Thu, 13 Sep 2007 03:27:41 +0000 (20:27 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 13 Sep 2007 03:27:41 +0000 (20:27 -0700)
commit16b0a33ceae7b57cf4ebc9ab62cd4e1dc00dbf8c
tree8402b87bfea53a1b9c57069653c3b8f42e0f8b6e
parent7978feebd2fb0be9f4a37980090dfebeeb29a36d
Use enumerations where practical to ease debugging

We have a lot of enumerations; by declaring fields as such, we make it
easier when debugging, since the debugger can display the enumerations
in cleartext.  However, make sure exceptional values (like -1) are
included in the enumeration, since the compiler otherwise may not
include it in the valid range of the enumeration.
26 files changed:
Makefile.in
Mkfiles/Makefile.b32
Mkfiles/Makefile.bc3
Mkfiles/Makefile.bor
Mkfiles/Makefile.dcp
Mkfiles/Makefile.dj
Mkfiles/Makefile.djo
Mkfiles/Makefile.dl
Mkfiles/Makefile.dos
Mkfiles/Makefile.emx
Mkfiles/Makefile.lcc
Mkfiles/Makefile.ms7
Mkfiles/Makefile.os2
Mkfiles/Makefile.sc
Mkfiles/Makefile.scw
Mkfiles/Makefile.unx
Mkfiles/Makefile.vc
Mkfiles/Makefile.wc
Mkfiles/Makefile.wcd
Mkfiles/Makefile.wcw
assemble.c
insns.pl
nasm.h
parser.c
regs.pl
tokhash.pl