core: reader_read_sexp_: Prepare for M2-Planet.

* src/reader.c (reader_read_sexp_): Prepare for M2-Planet.
This commit is contained in:
Jan (janneke) Nieuwenhuizen 2020-07-16 21:36:36 +02:00
parent a1eade98c6
commit 9cbf29b70a
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -149,7 +149,8 @@ reset_reader:
return cons (cell_symbol_quote, cons (reader_read_sexp_ (readchar (), a), cell_nil));
if (c == '"')
return reader_read_string ();
if (c == '.' && (reader_identifier_p (peekchar ()) == 0))
if (c == '.')
if (reader_identifier_p (peekchar ()) == 0)
return cell_dot;
return reader_read_identifier_or_number (c);
}