1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-04 17:43:02 +00:00

Support question mark in symbol.

This commit is contained in:
bakpakin
2018-01-14 10:17:18 -05:00
parent 53c0d5757c
commit f5b29b85ba
3 changed files with 34 additions and 1 deletions

View File

@@ -159,6 +159,9 @@ static void runfile(const uint8_t *src, int32_t len) {
case DST_PARSE_ERROR:
dst_puts(dst_formatc("syntax error at %d: %S\n",
s - src + res.bytes_read + 1, res.error));
if (res.bytes_read == 0) {
s++;
}
break;
case DST_PARSE_OK:
{