diff --git a/eval.c b/eval.c index c75789b..4c36f5e 100644 --- a/eval.c +++ b/eval.c @@ -1122,7 +1122,7 @@ static int gettyp( char *token) { return TKNUL; /* a numeric literal? */ - if (c >= '0' && c <= '9') + if( (c >= '0' && c <= '9') || c == '-') return TKLIT; switch (c) {