From cc04afb329cea035d0d9b67cd3b677e06b2f3996 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Sat, 12 Nov 2016 19:12:13 +0200 Subject: Further code improvements and doc changes as diff until merge. --- int_array.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'int_array.c') diff --git a/int_array.c b/int_array.c index 0014a81f..992da4a6 100644 --- a/int_array.c +++ b/int_array.c @@ -183,8 +183,8 @@ is_integer(NODE *symbol, NODE *subs) return NULL; if (len == 1 && *cp != '-') { /* single digit */ subs->numbr = (long) (*cp - '0'); - if ((subs->flags & MAYBE_NUM) != 0) { - /* leave MAYBE_NUM set */ + if ((subs->flags & USER_INPUT) != 0) { + /* leave USER_INPUT set */ subs->flags &= ~STRING; subs->flags |= NUMBER; } @@ -203,8 +203,8 @@ is_integer(NODE *symbol, NODE *subs) return NULL; subs->numbr = l; - if ((subs->flags & MAYBE_NUM) != 0) { - /* leave MAYBE_NUM set */ + if ((subs->flags & USER_INPUT) != 0) { + /* leave USER_INPUT set */ subs->flags &= ~STRING; subs->flags |= NUMBER; } -- cgit v1.2.3