summaryrefslogtreecommitdiffstats
path: root/parser.y
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-03-28 06:49:38 -0700
committerKaz Kylheku <kaz@kylheku.com>2018-03-28 06:49:38 -0700
commit37e839a7431520914a008c5df741e5267c16dcca (patch)
treee18903fd1e181366a3312d69b3390b79f95c0171 /parser.y
parent817cd83e0165714cb482e4acc54409510a2d0417 (diff)
downloadtxr-37e839a7431520914a008c5df741e5267c16dcca.tar.gz
txr-37e839a7431520914a008c5df741e5267c16dcca.tar.bz2
txr-37e839a7431520914a008c5df741e5267c16dcca.zip
compiler: pass whole form to comp-fun-form.
* share/txr/stdlib/compiler.tl (compiler compile): Pass form to comp-fun-form rather than sym and (cdr form). (compile comp-fun-form): Take just a form argument. Internally destructure to sym and args with tree-bind. This will allow some special cases added in the future to have access to the original form.
Diffstat (limited to 'parser.y')
0 files changed, 0 insertions, 0 deletions