aboutsummaryrefslogtreecommitdiffstats
path: root/builtin.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-09-18 11:40:34 +0300
committerArnold D. Robbins <arnold@skeeve.com>2018-09-18 11:40:34 +0300
commit362a100732b1017b54d3d6c6f14ea6ba59e657c2 (patch)
treec693b01f98fa65902b0f8bed27f1917c67dbf48e /builtin.c
parentc515c7d93ca941383e14de219dca592743ec0495 (diff)
parent82f0a742be462298c0da027bc4fb56ddcb667c02 (diff)
downloadegawk-362a100732b1017b54d3d6c6f14ea6ba59e657c2.tar.gz
egawk-362a100732b1017b54d3d6c6f14ea6ba59e657c2.tar.bz2
egawk-362a100732b1017b54d3d6c6f14ea6ba59e657c2.zip
Merge branch 'master' into feature/fix-comments
Diffstat (limited to 'builtin.c')
-rw-r--r--builtin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin.c b/builtin.c
index 8247ca33..d7b2337e 100644
--- a/builtin.c
+++ b/builtin.c
@@ -2364,7 +2364,8 @@ do_print_rec(int nargs, int redirtype)
if (fp == NULL)
return;
- (void) get_field(0L, NULL); /* rebuild record if necessary */
+ if (! field0_valid || do_lint) // lint check for field access in END
+ (void) get_field(0L, NULL);
f0 = fields_arr[0];