altos: Support negative decimal values on command line
authorKeith Packard <keithp@keithp.com>
Fri, 16 Oct 2020 19:57:07 +0000 (12:57 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 16 Oct 2020 19:57:07 +0000 (12:57 -0700)
commit7e3c4f3dd1df7ca8cbe91c636490c84be8c2d44f
tree2aadec2d8ec29f33eb8d3d3ad1969888987ab227
parent6aa97221061a1fe333d1338367ce669a7c3dbcbc
altos: Support negative decimal values on command line

Add support for leading unary minus for decimal constants.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao_cmd.c