use readtable if available to look up whitespace
This commit is contained in:
parent
35aa2c2398
commit
4451f44dda
|
@ -2039,7 +2039,9 @@ read_inner_inner(Scheme_Object *port, Scheme_Object *stxsrc, Scheme_Hash_Table *
|
||||||
while ( 1 ) {
|
while ( 1 ) {
|
||||||
next = scheme_peekc_special_ok(port);
|
next = scheme_peekc_special_ok(port);
|
||||||
if ( next == EOF ) { break; }
|
if ( next == EOF ) { break; }
|
||||||
if ( scheme_isspace(next) ) { scheme_getc_special_ok(port); continue; }
|
if ( (table && readtable_kind(table, next, params) & READTABLE_WHITESPACE)
|
||||||
|
|| (!table && scheme_isspace(next)) ) {
|
||||||
|
scheme_getc_special_ok(port); continue; }
|
||||||
if ( next == '.' ) { scheme_getc_special_ok(port); found_dot = 1; break; }
|
if ( next == '.' ) { scheme_getc_special_ok(port); found_dot = 1; break; }
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user