Fix numStr split for mod

This commit is contained in:
pancake 2017-12-18 12:24:54 +01:00
parent 0851129765
commit fb62095330

View File

@ -595,8 +595,8 @@ R_API int r_num_between(RNum *num, const char *input_value) {
}
R_API bool r_num_is_op(const char c) {
return c == '/' || c == '+' || c == '-' || c == '*'
|| c == '&' || c == '^' || c == '|';
return c == '/' || c == '+' || c == '-' || c == '*' ||
c == '%' || c == '&' || c == '^' || c == '|';
}
//Assumed *str is parsed as an expression correctly