diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-07-10 06:45:42 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-07-10 06:45:42 -0700 |
commit | acd1500cefaddba4a41689fe6d4d7bd2c99b759e (patch) | |
tree | e3d07e5f5d6807624d40e43d18d284e22990c597 /struct.c | |
parent | 97fa49cc2c9c9c1452316acb003b4c7d104ed162 (diff) | |
download | txr-acd1500cefaddba4a41689fe6d4d7bd2c99b759e.tar.gz txr-acd1500cefaddba4a41689fe6d4d7bd2c99b759e.tar.bz2 txr-acd1500cefaddba4a41689fe6d4d7bd2c99b759e.zip |
compiler: duplicated code when compiling switch.
* share/txr/stdlib/compiler.tl (compiler comp-ift): Fix
incorrect reference to the vec function rather than the
cases-vec local variable. Thus the variable shared is now
correctly calculated, and switch syntax which implements
fall through cases via a single block of shared code is
now translated properly as one block of instructions with
with multiple entry points.
Diffstat (limited to 'struct.c')
0 files changed, 0 insertions, 0 deletions