use length argument in cbqn_evalSrc
This commit is contained in:
parent
e38226895e
commit
ccd00cd4cf
@ -231,7 +231,7 @@ void cbqn_evalSrc(char* src, i64 len) {
|
||||
Scope* sc = ptr_inc(c(NS, ns)->sc);
|
||||
ptr_dec(v(ns));
|
||||
|
||||
B code = fromUTF8l(src);
|
||||
B code = fromUTF8(src, len);
|
||||
Block* block = bqn_compSc(code, inc(replPath), emptySVec(), sc, true);
|
||||
|
||||
ptr_dec(sc->body);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user