remove horrible kludge due to C compiler bug on Sun (and eliminate a lot of enum mismatch warnings)

This commit is contained in:
Kelvin Sherlock 2016-02-24 22:09:56 -05:00
parent 4cc8c97be5
commit 733b92017e
1 changed files with 1 additions and 4 deletions

View File

@ -1064,10 +1064,7 @@ typedef enum {
EXPRESSION_TOO_BIG_TO_FIT_IN_OBJECT_ERROR,
FUNNY_ASSIGNMENT_KIND_IN_OBJECT_EXPRESSION_ERROR,
TEMP_SYMBOL_IN_OBJECT_ERROR,
} errorTypeX;
typedef enum {/* horrible kludge due to C compiler bug on Sun */
BLOCK_OPERAND_IN_OBJECT_EXPRESSION_ERROR =
(int)TEMP_SYMBOL_IN_OBJECT_ERROR + 1,
BLOCK_OPERAND_IN_OBJECT_EXPRESSION_ERROR,
REGISTER_OPERAND_IN_OBJECT_EXPRESSION_ERROR,
SELECTION_OPERAND_IN_OBJECT_EXPRESSION_ERROR,
WRONG_KIND_OF_VALUE_IN_OBJECT_EXPRESSION_ERROR,