allow "(a . b #;c )"
This commit is contained in:
parent
8f5a4e8980
commit
4772441589
|
@ -361,7 +361,11 @@ read_pair(pic_state *pic, struct pic_port *port, char c)
|
|||
if (c == '.' && isdelim(peek(port))) {
|
||||
cdr = read(pic, port, next(port));
|
||||
|
||||
closing:
|
||||
if ((c = skip(port, ' ')) != tCLOSE) {
|
||||
if (pic_undef_p(read_nullable(pic, port, c))) {
|
||||
goto closing;
|
||||
}
|
||||
read_error(pic, "unmatched parenthesis");
|
||||
}
|
||||
return cdr;
|
||||
|
|
Loading…
Reference in New Issue