kre 84c609adca Do a better job of reporting invalid numeric constants in arithmetic exprs.
For example, given $(( 08 + 1 )) (or similar) instead of reporting
"expecting end of expression"  - the generic error for parse failed,
which happened as this was parsed as $(( 0 8 + 1 )) because the 8
could not be a part of an octal constant, and that expr makes no sense -
instead say "unexpected '8' (out of range) in numeric constant: 08"
which makes the cause of the error more obvious.

NFC for valid expressions, just the error message (and the way the
error is detected).
2017-12-17 04:06:03 +00:00
..
2017-10-02 08:24:17 +00:00
2017-10-16 17:08:35 +00:00
2017-10-02 21:55:35 +00:00
2017-10-30 15:38:52 +00:00
2017-10-18 18:11:54 +00:00