diff options
Diffstat (limited to 'int_array.c')
-rw-r--r-- | int_array.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; } |