aboutsummaryrefslogtreecommitdiffstats
path: root/field.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-07-04 05:41:05 +0300
committerArnold D. Robbins <arnold@skeeve.com>2016-07-04 05:41:05 +0300
commit414cd1eccff2d6d6415e1f65ac2e51e7c1b33890 (patch)
treeec23aa620134a1c949840c1c9e3294ba89a83a43 /field.c
parent093f27aa0d53494c257cf16a57b01ad43f70cdff (diff)
parentff4e0706c5ee5dffd69168ebd0ff5f53e474d048 (diff)
downloadegawk-414cd1eccff2d6d6415e1f65ac2e51e7c1b33890.tar.gz
egawk-414cd1eccff2d6d6415e1f65ac2e51e7c1b33890.tar.bz2
egawk-414cd1eccff2d6d6415e1f65ac2e51e7c1b33890.zip
Merge branch 'master' into feature/cmake
Diffstat (limited to 'field.c')
-rw-r--r--field.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/field.c b/field.c
index 6a9516d0..892818f7 100644
--- a/field.c
+++ b/field.c
@@ -216,7 +216,7 @@ rebuild_record()
}
} else {
*n = *r;
- n->flags &= ~(MALLOC|STRING);
+ n->flags &= ~MALLOC;
}
n->stptr = cops;
@@ -288,7 +288,7 @@ set_record(const char *buf, int cnt)
n->stlen = cnt;
n->valref = 1;
n->type = Node_val;
- n->stfmt = -1;
+ n->stfmt = STFMT_UNUSED;
n->flags = (STRING|STRCUR|MAYBE_NUM|FIELD);
fields_arr[0] = n;