version 1.7, 2015/08/11 22:12:48 |
version 1.8, 2015/08/11 22:18:43 |
|
|
|
|
if (ml->type_operator == '&') |
if (ml->type_operator == '&') |
value &= (int8_t)ml->type_operand; |
value &= (int8_t)ml->type_operand; |
|
else if (ml->type_operator == '-') |
|
value -= (int8_t)ml->type_operand; |
|
else if (ml->type_operator == '+') |
|
value += (int8_t)ml->type_operand; |
|
else if (ml->type_operator == '/') |
|
value /= (int8_t)ml->type_operand; |
|
else if (ml->type_operator == '%') |
|
value %= (int8_t)ml->type_operand; |
|
else if (ml->type_operator == '*') |
|
value *= (int8_t)ml->type_operand; |
else if (ml->type_operator != ' ') |
else if (ml->type_operator != ' ') |
return (-1); |
return (-1); |
|
|
|
|
|
|
if (ml->type_operator == '&') |
if (ml->type_operator == '&') |
value &= (int16_t)ml->type_operand; |
value &= (int16_t)ml->type_operand; |
|
else if (ml->type_operator == '-') |
|
value -= (int16_t)ml->type_operand; |
|
else if (ml->type_operator == '+') |
|
value += (int16_t)ml->type_operand; |
|
else if (ml->type_operator == '/') |
|
value /= (int16_t)ml->type_operand; |
|
else if (ml->type_operator == '%') |
|
value %= (int16_t)ml->type_operand; |
|
else if (ml->type_operator == '*') |
|
value *= (int16_t)ml->type_operand; |
else if (ml->type_operator != ' ') |
else if (ml->type_operator != ' ') |
return (-1); |
return (-1); |
|
|
|
|
|
|
if (ml->type_operator == '&') |
if (ml->type_operator == '&') |
value &= (int32_t)ml->type_operand; |
value &= (int32_t)ml->type_operand; |
|
else if (ml->type_operator == '-') |
|
value -= (int32_t)ml->type_operand; |
|
else if (ml->type_operator == '+') |
|
value += (int32_t)ml->type_operand; |
|
else if (ml->type_operator == '/') |
|
value /= (int32_t)ml->type_operand; |
|
else if (ml->type_operator == '%') |
|
value %= (int32_t)ml->type_operand; |
|
else if (ml->type_operator == '*') |
|
value *= (int32_t)ml->type_operand; |
else if (ml->type_operator != ' ') |
else if (ml->type_operator != ' ') |
return (-1); |
return (-1); |
|
|
|
|
|
|
if (ml->type_operator == '&') |
if (ml->type_operator == '&') |
value &= (int64_t)ml->type_operand; |
value &= (int64_t)ml->type_operand; |
|
else if (ml->type_operator == '-') |
|
value -= (int64_t)ml->type_operand; |
|
else if (ml->type_operator == '+') |
|
value += (int64_t)ml->type_operand; |
|
else if (ml->type_operator == '/') |
|
value /= (int64_t)ml->type_operand; |
|
else if (ml->type_operator == '%') |
|
value %= (int64_t)ml->type_operand; |
|
else if (ml->type_operator == '*') |
|
value *= (int64_t)ml->type_operand; |
else if (ml->type_operator != ' ') |
else if (ml->type_operator != ' ') |
return (-1); |
return (-1); |
|
|
|
|
|
|
if (ml->type_operator == '&') |
if (ml->type_operator == '&') |
value &= (uint8_t)ml->type_operand; |
value &= (uint8_t)ml->type_operand; |
|
else if (ml->type_operator == '-') |
|
value -= (uint8_t)ml->type_operand; |
|
else if (ml->type_operator == '+') |
|
value += (uint8_t)ml->type_operand; |
|
else if (ml->type_operator == '/') |
|
value /= (uint8_t)ml->type_operand; |
|
else if (ml->type_operator == '%') |
|
value %= (uint8_t)ml->type_operand; |
|
else if (ml->type_operator == '*') |
|
value *= (uint8_t)ml->type_operand; |
else if (ml->type_operator != ' ') |
else if (ml->type_operator != ' ') |
return (-1); |
return (-1); |
|
|
|
|
|
|
if (ml->type_operator == '&') |
if (ml->type_operator == '&') |
value &= (uint16_t)ml->type_operand; |
value &= (uint16_t)ml->type_operand; |
|
else if (ml->type_operator == '-') |
|
value -= (uint16_t)ml->type_operand; |
|
else if (ml->type_operator == '+') |
|
value += (uint16_t)ml->type_operand; |
|
else if (ml->type_operator == '/') |
|
value /= (uint16_t)ml->type_operand; |
|
else if (ml->type_operator == '%') |
|
value %= (uint16_t)ml->type_operand; |
|
else if (ml->type_operator == '*') |
|
value *= (uint16_t)ml->type_operand; |
else if (ml->type_operator != ' ') |
else if (ml->type_operator != ' ') |
return (-1); |
return (-1); |
|
|
|
|
|
|
if (ml->type_operator == '&') |
if (ml->type_operator == '&') |
value &= (uint32_t)ml->type_operand; |
value &= (uint32_t)ml->type_operand; |
|
else if (ml->type_operator == '-') |
|
value -= (uint32_t)ml->type_operand; |
|
else if (ml->type_operator == '+') |
|
value += (uint32_t)ml->type_operand; |
|
else if (ml->type_operator == '/') |
|
value /= (uint32_t)ml->type_operand; |
|
else if (ml->type_operator == '%') |
|
value %= (uint32_t)ml->type_operand; |
|
else if (ml->type_operator == '*') |
|
value *= (uint32_t)ml->type_operand; |
else if (ml->type_operator != ' ') |
else if (ml->type_operator != ' ') |
return (-1); |
return (-1); |
|
|
|
|
|
|
if (ml->type_operator == '&') |
if (ml->type_operator == '&') |
value &= (uint64_t)ml->type_operand; |
value &= (uint64_t)ml->type_operand; |
|
else if (ml->type_operator == '-') |
|
value -= (uint64_t)ml->type_operand; |
|
else if (ml->type_operator == '+') |
|
value += (uint64_t)ml->type_operand; |
|
else if (ml->type_operator == '/') |
|
value /= (uint64_t)ml->type_operand; |
|
else if (ml->type_operator == '%') |
|
value %= (uint64_t)ml->type_operand; |
|
else if (ml->type_operator == '*') |
|
value *= (uint64_t)ml->type_operand; |
else if (ml->type_operator != ' ') |
else if (ml->type_operator != ' ') |
return (-1); |
return (-1); |
|
|