allow symbols with leading '.'
This commit is contained in:
parent
bd822fa4c6
commit
029efc91c9
|
@ -342,7 +342,7 @@ read_pair(pic_state *pic, struct pic_port *port, char c)
|
|||
if (c == tCLOSE) {
|
||||
return pic_nil_value();
|
||||
}
|
||||
if (c == '.') {
|
||||
if (c == '.' && strchr("()#;,|'\" \t\n\r", peek(port)) != NULL) {
|
||||
cdr = read(pic, port, next(port));
|
||||
|
||||
if ((c = skip(port, ' ')) != tCLOSE) {
|
||||
|
|
Loading…
Reference in New Issue