清理一点点 check throw

This commit is contained in:
shenjack-5600u 2024-07-24 20:16:48 +08:00
parent fa6c6a7cd4
commit 7232151b5a
Signed by: shenjack
GPG Key ID: FDF9864E11C7E79F

View File

@ -5892,14 +5892,15 @@ var T = {
// j = C.String.dF(C.String.ay(m, k + 1)) // j = C.String.dF(C.String.ay(m, k + 1))
j = C.String.trim_name(C.String.ay(m, k + 1)) j = C.String.trim_name(C.String.ay(m, k + 1))
l = C.String.af(m, 0, k) l = C.String.af(m, 0, k)
// nq = P.RegExp_RegExp("\\s+$")
i = $.nq() i = $.nq()
m = H.iG(l, i, "", 0) m = H.iG(l, i, "", 0)
} else { } else {
j = e j = e
} }
// console.log("weapon: " + j) // console.log("weapon: " + j)
l = $.n3() l = $.n3() // @
if (l == null) H.throw_expression(H.R(l)) // if (l == null) H.throw_expression(H.R(l))
if (H.iF(m, l, 0)) { if (H.iF(m, l, 0)) {
h = C.String.cK(m, $.n3()) h = C.String.cK(m, $.n3())
if (J.m1(h[0], " ")) { if (J.m1(h[0], " ")) {
@ -5910,20 +5911,20 @@ var T = {
l = h[1] l = h[1]
i = $.n5() i = $.n5()
l.toString l.toString
if (i == null) H.throw_expression(H.R(i)) // if (i == null) H.throw_expression(H.R(i))
g = J.a3(l) g = J.a3(l)
f = g.gp(l) f = g.gp(l)
if (0 > f) H.throw_expression(P.a8(0, 0, g.gp(l), e, e)) if (0 > f) H.throw_expression(P.a8(0, 0, g.gp(l), e, e))
l = H.iF(l, i, 0) l = H.iF(l, i, 0)
} else l = true } else { l = true }
if (l) o.push(H.b([h[0], null, j], r)) if (l) { o.push(H.b([h[0], null, j], r)) }
else o.push(H.b([h[0], h[1], j], r)) else { o.push(H.b([h[0], h[1], j], r)) }
} else if (C.String.bA(m, " ")) { } else if (C.String.bA(m, " ")) { // m.startwith(" ")
o.push(H.b([C.String.ay(m, 1), n, j], r)) o.push(H.b([C.String.ay(m, 1), n, j], r))
} else { } else {
if (s + 1 < b.length) { if (s + 1 < b.length) {
l = $.n5() l = $.n5()
if (l == null) H.throw_expression(H.R(l)) // if (l == null) H.throw_expression(H.R(l))
l = !H.iF(m, l, 0) && J.m1(b[s + 1], " ") l = !H.iF(m, l, 0) && J.m1(b[s + 1], " ")
} else l = false } else l = false
if (l) n = m if (l) n = m