aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/paste.c
diff options
context:
space:
mode:
authorAndy Chu <andychu@google.com>2016-03-15 13:42:30 -0700
committerRob Landley <rob@landley.net>2016-03-16 11:59:56 -0500
commit14c91c1ebd68daacce9794cf8894dcfea68efd7b (patch)
tree052b6e72b9e3fa926e70a5f01690863836a8d2c6 /toys/posix/paste.c
parent2665cd0cf0d1116fae397d5b598a5ae1bd055afa (diff)
downloadtoybox-14c91c1ebd68daacce9794cf8894dcfea68efd7b.tar.gz
Fix the operator precedence in expr.
expr now uses the precedence table specified by POSIX, implemented using the "precedence climbing" algorithm. See the references at the top of eval_expr(). This fixes 3 of 4 failing tests. I also added more tests for correct behavior and for syntax errors. This includes a new test exposing a segfault, related to type coercion.
Diffstat (limited to 'toys/posix/paste.c')
0 files changed, 0 insertions, 0 deletions