Eval
- Do not mark the '(' and ')' operators as binary. I don't know what they are,
but they are not binary.
This commit is contained in:
@@ -83,8 +83,8 @@ static struct
|
|||||||
{ "or", 4, 'b', 'l' }, // Disjunction
|
{ "or", 4, 'b', 'l' }, // Disjunction
|
||||||
{ "xor", 3, 'b', 'l' }, // Disjunction
|
{ "xor", 3, 'b', 'l' }, // Disjunction
|
||||||
|
|
||||||
{ "(", 0, 'b', 'l' }, // Precedence start
|
{ "(", 0, '_', 'l' }, // Precedence start
|
||||||
{ ")", 0, 'b', 'l' }, // Precedence end
|
{ ")", 0, '_', 'l' }, // Precedence end
|
||||||
};
|
};
|
||||||
|
|
||||||
#define NUM_OPERATORS (sizeof (operators) / sizeof (operators[0]))
|
#define NUM_OPERATORS (sizeof (operators) / sizeof (operators[0]))
|
||||||
|
|||||||
Reference in New Issue
Block a user