summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/txr/stdlib/awk.tl3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/txr/stdlib/awk.tl b/share/txr/stdlib/awk.tl
index 45a655bd..fd4788da 100644
--- a/share/txr/stdlib/awk.tl
+++ b/share/txr/stdlib/awk.tl
@@ -211,7 +211,8 @@
,*(if awc.inputs ^(inputs (list ,*awc.inputs)))
,*(if awc.output ^(output ,awc.output))
rng-n (macro-time (qref ,awc nranges))))
- (*stdout* (qref ,aws-sym output))
+ ,*(if awc.output
+ ^((*stdout* (qref ,aws-sym output))))
,*(if awc.begin-file-actions
^((,awk-begf-fun (lambda (,aws-sym)
,*awc.begin-file-actions))))