diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-04-04 23:33:18 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-04-04 23:33:18 -0700 |
commit | 3e2af73a078ff12bb847d3f8f61b99d77dc3bf09 (patch) | |
tree | 088e5d9a22d71193cfe2623381e0574cfbe83c7d /parser.c | |
parent | c93846acd4905a20fbb1a0613954f20e34650f92 (diff) | |
download | txr-3e2af73a078ff12bb847d3f8f61b99d77dc3bf09.tar.gz txr-3e2af73a078ff12bb847d3f8f61b99d77dc3bf09.tar.bz2 txr-3e2af73a078ff12bb847d3f8f61b99d77dc3bf09.zip |
load: remove hack for loading compiler.tlo.
* parser.c (read_file_common): Remove the check whether the
data vector is a list (due to have been converted to
sys:vector-lit by the presence of unquotes). This doesn't
happen any more, thanks to the previous parser commit.
Diffstat (limited to 'parser.c')
-rw-r--r-- | parser.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -627,8 +627,7 @@ static val read_file_common(val stream, val error_stream, val compiled) val nlevels = pop(&form); val nregs = pop(&form); val bytecode = pop(&form); - val dv_raw = pop(&form); - val datavec = if3(consp(dv_raw), vec_list(cadr(dv_raw)), dv_raw); + val datavec = pop(&form); val funvec = car(form); val desc = vm_make_desc(nlevels, nregs, bytecode, datavec, funvec); (void) vm_execute_toplevel(desc); |