format single position compiler errors
This commit is contained in:
parent
77cb03033d
commit
59ac1a00fb
@ -160,15 +160,23 @@ B casrt_c2(B t, B w, B x) {
|
|||||||
dec(x);
|
dec(x);
|
||||||
if (isArr(w) && a(w)->ia==2) {
|
if (isArr(w) && a(w)->ia==2) {
|
||||||
B w0 = IGetU(w,0);
|
B w0 = IGetU(w,0);
|
||||||
if (!isArr(w0) || a(w0)->ia<2) goto base;
|
if (isNum(w0)) {
|
||||||
B s = IGet(w,1);
|
B s = IGet(w,1);
|
||||||
SGetU(w0)
|
AFMT("\n");
|
||||||
AFMT("\n");
|
usz pos = o2s(w0);
|
||||||
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, pos, pos+1);
|
||||||
dec(w);
|
dec(w);
|
||||||
thr(s);
|
thr(s);
|
||||||
|
}
|
||||||
|
if (isArr(w0) && a(w0)->ia==2) {
|
||||||
|
B s = IGet(w,1);
|
||||||
|
SGetU(w0)
|
||||||
|
AFMT("\n");
|
||||||
|
s = vm_fmtPoint(comp_currSrc, s, comp_currPath, o2s(GetU(w0,0)), o2s(GetU(w0,1))+1);
|
||||||
|
dec(w);
|
||||||
|
thr(s);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
base:
|
|
||||||
thr(w);
|
thr(w);
|
||||||
}
|
}
|
||||||
B casrt_c1(B t, B x) {
|
B casrt_c1(B t, B x) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user