diff options
author | Alan Modra <amodra@gmail.com> | 2000-12-06 02:40:55 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2000-12-06 02:40:55 +0000 |
commit | 50705ef487df38335922c4f2e39458ea364aad45 (patch) | |
tree | 609d066bdb0038f27457285e9a2b556de69da395 /gas/config/tc-i386.c | |
parent | 3c077de93f564c01eaa021e741841e3a0e658ae8 (diff) | |
download | gdb-50705ef487df38335922c4f2e39458ea364aad45.zip gdb-50705ef487df38335922c4f2e39458ea364aad45.tar.gz gdb-50705ef487df38335922c4f2e39458ea364aad45.tar.bz2 |
Fix T_SHORT macro conflict.
Diffstat (limited to 'gas/config/tc-i386.c')
-rw-r--r-- | gas/config/tc-i386.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 5cf87bd..eaecabc 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -4330,7 +4330,9 @@ struct intel_token static struct intel_token cur_token, prev_token; -/* Token codes for the intel parser. */ + +/* Token codes for the intel parser. Since T_SHORT is already used + by COFF, undefine it first to prevent a warning. */ #define T_NIL -1 #define T_CONST 1 #define T_REG 2 @@ -4339,6 +4341,7 @@ static struct intel_token cur_token, prev_token; #define T_DWORD 5 #define T_QWORD 6 #define T_XWORD 7 +#undef T_SHORT #define T_SHORT 8 #define T_OFFSET 9 #define T_PTR 10 |