support another variant of compiler assert
This commit is contained in:
parent
bce0c2853c
commit
cfc5059627
@ -168,10 +168,16 @@ B casrt_c2(B t, B w, B x) {
|
|||||||
dec(w);
|
dec(w);
|
||||||
thr(s);
|
thr(s);
|
||||||
}
|
}
|
||||||
if (isArr(w0) && a(w0)->ia>=2) {
|
if (isArr(w0) && rnk(w0)==1 && a(w0)->ia>=1) {
|
||||||
B s = IGet(w,1);
|
B s = IGet(w,1); AFMT("\n");
|
||||||
|
usz pos = o2s(IGetU(w0,0));
|
||||||
|
s = vm_fmtPoint(comp_currSrc, s, comp_currPath, pos, pos+1);
|
||||||
|
dec(w);
|
||||||
|
thr(s);
|
||||||
|
}
|
||||||
|
if (isArr(w0) && rnk(w0)==2 && a(w0)->ia>=2) {
|
||||||
|
B s = IGet(w,1); AFMT("\n");
|
||||||
SGetU(w0)
|
SGetU(w0)
|
||||||
AFMT("\n");
|
|
||||||
s = vm_fmtPoint(comp_currSrc, s, comp_currPath, o2s(GetU(w0,0)), o2s(GetU(w0,1))+1);
|
s = vm_fmtPoint(comp_currSrc, s, comp_currPath, o2s(GetU(w0,0)), o2s(GetU(w0,1))+1);
|
||||||
dec(w);
|
dec(w);
|
||||||
thr(s);
|
thr(s);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user