diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-04-04 07:34:57 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-04-04 07:34:57 -0700 |
commit | d697931dcc4cf2f3888f54d01cd88f0aab21e41b (patch) | |
tree | 4b01be3f55eee017614a7f4b20e09bff388ba3d4 /txr.1 | |
parent | 8443adf12598159280366a60d44762e14acc0f1e (diff) | |
download | txr-d697931dcc4cf2f3888f54d01cd88f0aab21e41b.tar.gz txr-d697931dcc4cf2f3888f54d01cd88f0aab21e41b.tar.bz2 txr-d697931dcc4cf2f3888f54d01cd88f0aab21e41b.zip |
awk: relax restriction on :name.
* share/txr/stdlib/awk.tl (sys:awk-expander): Do not impose
stricter restrictions on :name than the block mechanism
itself.
* txr.1: Documentation updated.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -58969,17 +58969,20 @@ and The following is a description of the special clauses: .RS -.meIP (:name << sym ) +.meIP (:name << obj ) The .code :name clause establishes the name of the implicit block contained within the expansion of the .code awk -macro. Forms enclosed in the macro can use +macro to be the object +.metn obj , +usually a symbol. +Forms enclosed in the macro can use .code return-from to abandon the .code awk -form, specifying this symbol as the argument. +form, specifying the same object as the argument. If the .code :name @@ -58990,10 +58993,10 @@ It is an error for two or more .code :name forms to appear. -The +Note: in \*(TX 255 and older, the .code :name -clause must have an argument which is a symbol; -the symbol +clause must have an argument which is a symbol. +The symbol .code nil is not permitted. |