enhanced the reader and compiler to treat the binop expression like a message-send expression
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -1280,7 +1280,8 @@ static pf_t builtin_prims[] =
|
||||
{ 2, 2, pf_number_lt, 1, { '<' } },
|
||||
{ 2, 2, pf_number_le, 2, { '<','=' } },
|
||||
{ 2, 2, pf_number_eq, 1, { '=' } },
|
||||
{ 2, 2, pf_number_ne, 2, { '/','=' } },
|
||||
{ 2, 2, pf_number_eq, 2, { '=', '=' } },
|
||||
{ 2, 2, pf_number_ne, 2, { '~','=' } },
|
||||
|
||||
/* bitwise operations are supported for integers only */
|
||||
{ 2, 2, pf_integer_band, 7, { 'b','i','t','-','a','n','d' } },
|
||||
|
Reference in New Issue
Block a user