Skip to content

Commit

Permalink
Don't commute '>' operator.
Browse files Browse the repository at this point in the history
This fixes #1.
  • Loading branch information
dmsc committed Mar 14, 2017
1 parent 850cdff commit 17f63f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/optconst.c
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,6 @@ static int do_commute(expr *ex)
case TOK_OR:
case TOK_AND:
case TOK_N_NEQ:
case TOK_N_GE:
case TOK_N_EQ:
case TOK_PLUS:
case TOK_STAR:
Expand All @@ -507,6 +506,7 @@ static int do_commute(expr *ex)
case TOK_N_LEQ:
case TOK_N_GEQ:
case TOK_N_LE:
case TOK_N_GE:
case TOK_S_LEQ:
case TOK_S_GEQ:
case TOK_S_LE:
Expand Down

0 comments on commit 17f63f6

Please # to comment.