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:
@@ -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:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user