summaryrefslogtreecommitdiffstats
path: root/sysif.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-09-12 06:48:23 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-09-12 06:48:23 -0700
commit7b72430e64a7728ec88f72ef5abae536ecef90ae (patch)
tree2baf52a22da7760200bb0cef5a051fa847ee0a35 /sysif.c
parente8a06969698fe98a471ce413a81b41d4f2327bfd (diff)
downloadtxr-7b72430e64a7728ec88f72ef5abae536ecef90ae.tar.gz
txr-7b72430e64a7728ec88f72ef5abae536ecef90ae.tar.bz2
txr-7b72430e64a7728ec88f72ef5abae536ecef90ae.zip
awk macro: revise how implicit block works, and name.
* share/txr/stdlib/awk.tl (sys:awk-expander): Check that :name designates a symbol, and that it isn't nil. (awk): Move the implicit block to the outermost scope so it encloses all of the clauses. Default to the name awk for the block, rather than nil. * txr.1: Document that the implicit awk block is called awk by default, and that nil is not allowed as a block name.
Diffstat (limited to 'sysif.c')
0 files changed, 0 insertions, 0 deletions