SWI supports xor operator.

This commit is contained in:
Vítor Manuel de Morais Santos Costa 2009-11-11 10:54:38 +00:00
parent 51f6f509e1
commit 99b2347cd8
1 changed files with 4 additions and 3 deletions

View File

@ -400,9 +400,7 @@ static Opdef Ops[] = {
{"\\/", yfx, 500}, {"\\/", yfx, 500},
{"><", yfx, 500}, {"><", yfx, 500},
{"#", yfx, 500}, {"#", yfx, 500},
{"+", fx, 200}, {"xor", yfx, 400},
{"-", fy, 200},
{"\\", fy, 200},
{"rdiv", yfx, 400}, {"rdiv", yfx, 400},
{"*", yfx, 400}, {"*", yfx, 400},
{"/", yfx, 400}, {"/", yfx, 400},
@ -411,6 +409,9 @@ static Opdef Ops[] = {
{">>", yfx, 400}, {">>", yfx, 400},
{"mod", yfx, 400}, {"mod", yfx, 400},
{"rem", yfx, 400}, {"rem", yfx, 400},
{"+", fx, 200},
{"-", fy, 200},
{"\\", fy, 200},
{"//", yfx, 400}, {"//", yfx, 400},
{"**", xfx, 200}, {"**", xfx, 200},
{"^", xfy, 200} {"^", xfy, 200}