InternalError on unrecognized operations rather than just dropping them.

svn path=/trunk/yasm/; revision=707
0.3
Peter Johnson 23 years ago
parent 42e0002db5
commit 4f8f5b128f
  1. 2
      libyasm/intnum.c
  2. 2
      src/intnum.c

@ -435,6 +435,8 @@ intnum_calc(intnum *acc, ExprOp op, intnum *operand)
if (result)
BitVector_Copy(result, op1);
break;
default:
InternalError(_("invalid operation in intnum calculation"));
}
/* If we were doing a bitvector computation... */

@ -435,6 +435,8 @@ intnum_calc(intnum *acc, ExprOp op, intnum *operand)
if (result)
BitVector_Copy(result, op1);
break;
default:
InternalError(_("invalid operation in intnum calculation"));
}
/* If we were doing a bitvector computation... */

Loading…
Cancel
Save