mirror of
https://github.com/Museum-of-Art-and-Digital-Entertainment/macross.git
synced 2025-02-05 16:30:16 +00:00
Remove obsolete kludge
This commit is contained in:
parent
e10a35e3e1
commit
deb5d06fba
@ -57,10 +57,6 @@ typedef selectionListType ySelectedOperandBodyType;
|
||||
|
||||
typedef selectionListType preSelectedOperandBodyType;
|
||||
|
||||
#define BlockOperandBodyType anyOldThing /* kludge */
|
||||
/* doing above right confuses compiler as it is a forward reference inside
|
||||
yon union: */
|
||||
|
||||
typedef union {
|
||||
expressionOperandBodyType *expressionUnion;
|
||||
immediateOperandBodyType *immediateUnion;
|
||||
@ -76,5 +72,5 @@ typedef union {
|
||||
ySelectedOperandBodyType *ySelectedUnion;
|
||||
preSelectedOperandBodyType *preSelectedUnion;
|
||||
stringOperandBodyType *stringUnion;
|
||||
BlockOperandBodyType *blockUnion;
|
||||
blockOperandBodyType *blockUnion;
|
||||
} operandBodyType;
|
||||
|
@ -69,14 +69,10 @@ typedef nullType uspRegisterOperandBodyType;
|
||||
|
||||
typedef nullType controlRegisterOperandBodyType;
|
||||
|
||||
#define BlockOperandBodyType anyOldThing /* kludge */
|
||||
/* doing above right confuses compiler as it is a forward reference inside
|
||||
yon union: */
|
||||
|
||||
typedef union {
|
||||
expressionOperandBodyType *expressionUnion;
|
||||
stringOperandBodyType *stringUnion;
|
||||
BlockOperandBodyType *blockUnion;
|
||||
blockOperandBodyType *blockUnion;
|
||||
dRegisterOperandBodyType *dRegisterUnion;
|
||||
aRegisterOperandBodyType *aRegisterUnion;
|
||||
aRegisterIndirectOperandBodyType *aRegisterIndirectUnion;
|
||||
|
@ -125,7 +125,7 @@ buildOperand(operandKindType kindOfOperand, anyOldThing *arg)
|
||||
break;
|
||||
|
||||
case BLOCK_OPND:
|
||||
result->theOperand.blockUnion = (BlockOperandBodyType *) arg;
|
||||
result->theOperand.blockUnion = (blockOperandBodyType *) arg;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
@ -59,7 +59,7 @@ buildOperand(kindOfOperand, arg1, arg2, arg3, arg4)
|
||||
break;
|
||||
|
||||
case BLOCK_OPND:
|
||||
result->theOperand.blockUnion = (BlockOperandBodyType *) arg1;
|
||||
result->theOperand.blockUnion = (blockOperandBodyType *) arg1;
|
||||
break;
|
||||
|
||||
case D_REGISTER_OPND:
|
||||
|
Loading…
x
Reference in New Issue
Block a user