summaryrefslogtreecommitdiffstats
path: root/parser.y
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-08-07 21:13:15 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-08-07 21:13:15 -0700
commit7840f507a485c78607605493e575ff1546245b87 (patch)
treeca04df4dd937ae388e50317cf32d9bdddd1c5ea3 /parser.y
parent7abdb7132afa0f5d8351c1a04d8fc819de3f1ea1 (diff)
downloadtxr-7840f507a485c78607605493e575ff1546245b87.tar.gz
txr-7840f507a485c78607605493e575ff1546245b87.tar.bz2
txr-7840f507a485c78607605493e575ff1546245b87.zip
compiler: inline lambda: incomplete opt param support.
The compilation of lambdas that are immediately called or applied is missing the support for the Boolean parameters that indicate whether optional arguments are present. * share/txr/stdlib/compiler.tl (lambda-apply-transform): Check whether the opt parameter items from the fun-param-parser object have a third element, the indicator variable, and emit the binding for it. This has to be done in all three cases: optional parameter statically present, statically missing, and dynamically determined from run-time apply list of unknown length.
Diffstat (limited to 'parser.y')
0 files changed, 0 insertions, 0 deletions