We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8d5ade commit ba0ade2Copy full SHA for ba0ade2
src/shunting-yard.c
@@ -53,6 +53,7 @@ static const Token NO_TOKEN = {TOKEN_NONE, NULL};
53
static const Operator OPERATORS[] = {
54
{"!", 1, 1, OPERATOR_UNARY, OPERATOR_RIGHT},
55
{"~", 1, 1, OPERATOR_UNARY, OPERATOR_RIGHT},
56
+ {"-", 1, 1, OPERATOR_UNARY, OPERATOR_RIGHT},
57
{"*", 1, 2, OPERATOR_BINARY, OPERATOR_LEFT},
58
{"/", 1, 2, OPERATOR_BINARY, OPERATOR_LEFT},
59
{"%", 1, 2, OPERATOR_BINARY, OPERATOR_LEFT},
0 commit comments