fix read_vector bug
This commit is contained in:
parent
029efc91c9
commit
4d9dc8011c
|
@ -362,6 +362,8 @@ read_vector(pic_state *pic, struct pic_port *port, char c)
|
||||||
{
|
{
|
||||||
pic_value val;
|
pic_value val;
|
||||||
|
|
||||||
|
c = next(port);
|
||||||
|
|
||||||
val = pic_nil_value();
|
val = pic_nil_value();
|
||||||
while ((c = skip(port, c)) != ')') {
|
while ((c = skip(port, c)) != ')') {
|
||||||
val = pic_cons(pic, read(pic, port, c), val);
|
val = pic_cons(pic, read(pic, port, c), val);
|
||||||
|
|
Loading…
Reference in New Issue