diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-03-17 22:59:28 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-03-17 22:59:28 +0200 |
commit | a1b68a54a8fdd7a61ab9aaf19a5ada599cfb08e7 (patch) | |
tree | 639d0ffbb2c36b982c42b144087e57e857bafe64 /eval.c | |
parent | 17e974bac1ab2b101cc3ba5fcef61725b7469c7b (diff) | |
parent | cd2ff61aaf4938092517880ad7655828d99a3cb9 (diff) | |
download | gawk-memory-work.tar.gz |
Merge branch 'master' into memory-workmemory-work
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -708,6 +708,8 @@ set_IGNORECASE() load_casetable(); if (do_traditional) IGNORECASE = false; + else if ((n->flags & (NUMCUR|NUMBER)) != 0) + IGNORECASE = ! iszero(n); else if ((n->flags & (STRING|STRCUR)) != 0) { if ((n->flags & MAYBE_NUM) == 0) { (void) force_string(n); @@ -716,9 +718,7 @@ set_IGNORECASE() (void) force_number(n); IGNORECASE = ! iszero(n); } - } else if ((n->flags & (NUMCUR|NUMBER)) != 0) - IGNORECASE = ! iszero(n); - else + } else IGNORECASE = false; /* shouldn't happen */ set_RS(); /* set_RS() calls set_FS() if need be, for us */ |