|
Hi all,
TXR 169 is out; binaries at Bintray.
5> (let ((R #/c/))Here, the programmer wrapped a (let ((R ...)) ...) around a rng expression which refers to R. However, the awk macro relocates the evaluation of rng expressions, and so the code doesn't actually refer to this R. It in fact wrongly refers to the outer R which holds the #/c/ regular expression, not the regex #/b/ that the programmer intended.
(awk ((let ((R #/a/))
(rng R #/b/)))))
** warning: (expr-5:3) rng: form R
is moved out of the apparent scope
and thus cannot refer to variables (R)
Cheers ...
This message was posted to the following mailing lists: | ||||
---|---|---|---|---|
TXR Users Mailing list info | Nearby messages |
Kaz'z Mailing List Archives adminstered by Kaz | Lurker (version 2.3, substantialy hacked by Kaz). Icon artwork from VisualPharm. |