diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-06-13 06:55:06 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-06-13 07:53:24 -0700 |
commit | be4b8ea34756ac7b13c182573c952c21e4c11777 (patch) | |
tree | 27df39f8fe22541e975e8966ac0a232e48f032bc /stdlib/pmac.tl | |
parent | ecb2cd4a54505d3068cad1faa9bf02c28162bc55 (diff) | |
download | txr-be4b8ea34756ac7b13c182573c952c21e4c11777.tar.gz txr-be4b8ea34756ac7b13c182573c952c21e4c11777.tar.bz2 txr-be4b8ea34756ac7b13c182573c952c21e4c11777.zip |
for/for*: stricter syntax check.
* eval.c (me_for): Require at least one argument.
However, we let the init-forms continue to be optional
and document it.
* txr.1: Refer to for and for* as macros, since they have been
since 2016. The omission of the inc-form list is shown
as a second variant of the syntax. This is to avoid misleading
the reader into thinking that the the inc-form list can be
omitted while body forms are present. A spurious paragraph
reiterating that the macros establish an anonymous block is
removed. That extra text was present in the first draft written
in 2011, and maintained since.
* stdlib/doc-syms.tl: Updated.
Diffstat (limited to 'stdlib/pmac.tl')
0 files changed, 0 insertions, 0 deletions