static boolean isLongConstant(S s) { if (!s.endsWith("L")) ret false; s = s.substring(0, l(s)-1); ret isInteger(s); }