Include inttostr.h, strnumcmp.h.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 27 May 2005 20:36:58 +0000 (20:36 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 27 May 2005 20:36:58 +0000 (20:36 +0000)
commita2b86be29574145e2f26770bc495893c27ec6016
tree1c8d0ed402c67baecb42f2b961810865f0c69d79
parent58aa95b54b7cf8b4aaa8264d8d8235b86b992457
Include inttostr.h, strnumcmp.h.
(whitespace, digit, digit_value, integer_expected_error): Remove.
(is_int): Remove; replaced by...
(find_int): New function.
(binary_operator): Don't let integers overflow in comparisons;
return the correct answer instead.  Simplify the code.
(unary_operator): Convert the integer ourself, since find_int
no longer does so.
src/test.c