protected void warning(String msg) throws LexerException { if (source != null) source.warning(msg); else throw new LexerException(msg); }
protected void warning(String msg) throws LexerException { if (source != null) source.warning(msg); else throw new LexerException(msg); }
protected void warning(String msg) throws LexerException { if (source != null) source.warning(msg); else throw new LexerException(msg); }
warning("Unnecessary escape character " + (char)d); case 'p': text.append((char)d);
warning("Unnecessary escape character " + (char)d); case 'p': text.append((char)d);
warning("Unnecessary escape character " + (char) d); text.append((char) d); return d;
if (d == 'U' || d == 'u') { if ((flags & NumericValue.F_UNSIGNED) != 0) warning("Duplicate unsigned suffix " + d); flags |= NumericValue.F_UNSIGNED; text.append((char) d); } else if (d == 'L' || d == 'l') { if ((flags & NumericValue.FF_SIZE) != 0) warning("Multiple length suffixes after " + text); text.append((char) d); int e = read(); warning("Multiple length suffixes after " + text); flags |= NumericValue.F_INT; text.append((char) d); } else if (d == 'F' || d == 'f') { if ((flags & NumericValue.FF_SIZE) != 0) warning("Multiple length suffixes after " + text); flags |= NumericValue.F_FLOAT; text.append((char) d); } else if (d == 'D' || d == 'd') { if ((flags & NumericValue.FF_SIZE) != 0) warning("Multiple length suffixes after " + text); flags |= NumericValue.F_DOUBLE; text.append((char) d);
if (fraction == null && exponent == null && integer.startsWith("0")) { if (!is_octal(integer)) warning("Decimal constant starts with 0, but not octal: " + integer); else base = 8;