summaryrefslogtreecommitdiffstats
path: root/autoload.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2023-05-24 06:48:18 -0700
committerKaz Kylheku <kaz@kylheku.com>2023-05-24 06:48:18 -0700
commitb4f23d86dd71504405f2f26278941dd8325c14ab (patch)
treef25ac7d6f3493f63b34d878e68ca3494732c0839 /autoload.c
parent8c249e7aa60489b353658c934b0668a045d7fa0c (diff)
downloadtxr-b4f23d86dd71504405f2f26278941dd8325c14ab.tar.gz
txr-b4f23d86dd71504405f2f26278941dd8325c14ab.tar.bz2
txr-b4f23d86dd71504405f2f26278941dd8325c14ab.zip
awk: widen scope of redirection macros.
This change makes it possible to use the redirection macros like -> and ->> everywhere in the awk macro, including the init-forms of the :let clause. * stdlib/awk.tl (sys:awk-mac-let-outer): New macro. (sys:awk-mac-let): Move redirection macros into awk-mac-let-outer. (awk): Rearrange the order of wrapping. We split the let so the awk-retval and aws-sym are bound outermost. Then we have the outer macros that provide the redirection operators. Then the application-defined lets inside of that. * txr.1: Documented wide scope of redirection macros.
Diffstat (limited to 'autoload.c')
0 files changed, 0 insertions, 0 deletions