Warning: session_start(): open(/var/lib/php/sessions/sess_ajmvem48tqro4hpkgihl86ehoh, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
static S[] match2x(L pat, L tok) {
new ArrayList result;
if (pat.size() != tok.size()) null;
for (int i = 1; i < pat.size(); i += 2) {
S p = pat.get(i), t = tok.get(i);
bool match;
if (eq(p, "*")) match = true;
else if (eq(p, "")) match = isQuoted(t);
else if (eq(p, "")) match = isIdentifier(t);
else if (eq(p, "")) match = isInteger(t);
else { if (!eq(p, t)) null; continue; }
if (!match) null;
result.add(t);
}
return result.toArray(new S[result.size()]);
}