summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-09-10 16:50:30 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-09-10 16:50:30 -0700
commitb26fd2a683aba1d25864ae38629fe2eae85fa3fe (patch)
tree4afa1f197d12b7948fbeaaaeeb1530539d5000f9 /txr.1
parent2b03fc608d1071dbce2dcc5b0bbc6831234ac783 (diff)
downloadtxr-b26fd2a683aba1d25864ae38629fe2eae85fa3fe.tar.gz
txr-b26fd2a683aba1d25864ae38629fe2eae85fa3fe.tar.bz2
txr-b26fd2a683aba1d25864ae38629fe2eae85fa3fe.zip
awk macro: move expander values into compile-time struct.
* share/txr/stdlib/awk.tl (sys:awk-compile-time): New slots: inputs, output, name, lets, begin-actions, end-actions, cond-actions. (sys:awk-expander): Use just one local variable, an awk compile time. Instead of the previous local variables, use the slots of this structure and return just that structure. Note that pattern-actions has been renamed cond-actions. This is per the terminology used in the newly-written documentation. (awk): Adjust to sys:awk-expander returning just the awk compile-time structure. No need to set up numerous locals; just refer to struct.
Diffstat (limited to 'txr.1')
0 files changed, 0 insertions, 0 deletions