diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-04-14 22:45:43 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-04-14 22:45:43 -0700 |
commit | ce51feaa6f783cea151bdc0b542a8733cce2c245 (patch) | |
tree | 0f7c6cbede245f868e6031cc8446ab63cf5b8fe3 /unwind.h | |
parent | b1718cf88484b311911361bbad2f22c24d026d02 (diff) | |
download | txr-ce51feaa6f783cea151bdc0b542a8733cce2c245.tar.gz txr-ce51feaa6f783cea151bdc0b542a8733cce2c245.tar.bz2 txr-ce51feaa6f783cea151bdc0b542a8733cce2c245.zip |
compiler: lambda: accurate determination of need-frame.
* share/txr/stdlib/compiler.tl (comp-lambda): The local
variable need-frame is supposed to indicate whether the
lambda needs a frame for its arguments: i.e. whether it has
any parameters. However the way it is calculated is poor:
the fixed-pars list potentially includes the semicolon
symbol : which separates the required parameters from
optionals. Hence the parameter list syntax (:) will be
treated as "needs frame", even though it denotes an empty
parameter list, just like the syntax (). This slight flaw
is now tightened up.
Diffstat (limited to 'unwind.h')
0 files changed, 0 insertions, 0 deletions