mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-20 06:09:18 +02:00
Friendlier error message on # at EOF.
This commit is contained in:
parent
580d4323aa
commit
1ba62a6514
1 changed files with 2 additions and 2 deletions
4
sexp.c
4
sexp.c
|
@ -2562,8 +2562,8 @@ sexp sexp_read_raw (sexp ctx, sexp in) {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
res = sexp_read_error(ctx, "invalid # syntax",
|
res = sexp_read_error(ctx, "invalid char following '#'",
|
||||||
sexp_make_character(c1), in);
|
c1 == EOF ? SEXP_EOF : sexp_make_character(c1), in);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case '.':
|
case '.':
|
||||||
|
|
Loading…
Add table
Reference in a new issue