mirror of
https://github.com/janet-lang/janet
synced 2025-02-09 05:20:03 +00:00
Update parse-status to reflect new long-string syntax better.
This commit is contained in:
parent
932a0324ee
commit
ea9855a93d
@ -716,11 +716,9 @@ static int cfun_state(DstArgs args) {
|
|||||||
dst_v_push(buf, '"');
|
dst_v_push(buf, '"');
|
||||||
} else if (s->flags & PFLAG_LONGSTRING) {
|
} else if (s->flags & PFLAG_LONGSTRING) {
|
||||||
int32_t i;
|
int32_t i;
|
||||||
dst_v_push(buf, '\\');
|
|
||||||
for (i = 0; i < s->argn; i++) {
|
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));
|
str = dst_string(buf, dst_v_count(buf));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user