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. --- builtin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'builtin.c') diff --git a/builtin.c b/builtin.c index 95e7f7dc..e6cfee3b 100644 --- a/builtin.c +++ b/builtin.c @@ -2647,7 +2647,7 @@ do_match(int nargs) } it = make_string(start, len); - it->flags |= MAYBE_NUM; /* user input */ + it->flags |= USER_INPUT; sub = make_number((AWKNUM) (ii)); lhs = assoc_lookup(dest, sub); @@ -3950,14 +3950,14 @@ do_typeof(int nargs) break; case Node_val: case Node_var: - switch (fixtype(arg)->flags & (STRING|NUMBER|MAYBE_NUM)) { + switch (fixtype(arg)->flags & (STRING|NUMBER|USER_INPUT)) { case STRING: res = "string"; break; case NUMBER: res = "number"; break; - case NUMBER|MAYBE_NUM: + case NUMBER|USER_INPUT: res = "strnum"; break; case NUMBER|STRING: -- cgit v1.2.3