1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-25 22:53:16 +00:00

Update parse-status to reflect new long-string syntax better.

This commit is contained in:
Calvin Rose 2018-05-09 17:14:29 -04:00
parent 932a0324ee
commit ea9855a93d

View File

@ -716,11 +716,9 @@ static int cfun_state(DstArgs args) {
dst_v_push(buf, '"');
} else if (s->flags & PFLAG_LONGSTRING) {
int32_t i;
dst_v_push(buf, '\\');
for (i = 0; i < s->argn; i++) {
dst_v_push(buf, '=');
dst_v_push(buf, '`');
}
dst_v_push(buf, '\\');
}
}
str = dst_string(buf, dst_v_count(buf));