shell/math: deconvolute and explain ?: handling. Give better error message

function                                             old     new   delta
arith_apply                                         1271    1283     +12

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
This commit is contained in:
Denys Vlasenko
2010-09-16 11:50:46 +02:00
parent 063847d6bd
commit bed7c81ea2
6 changed files with 160 additions and 145 deletions

View File

@ -72,7 +72,7 @@ ghi
./arith.tests: line 191: arithmetic syntax error
16 16
./arith.tests: line 196: arithmetic syntax error
./arith.tests: line 197: arithmetic syntax error
./arith.tests: line 197: malformed ?: operator
./arith.tests: line 198: arithmetic syntax error
9 9
./arith.tests: line 205: arithmetic syntax error