default: // e.g. -1 _reportInvalidChar(i);
default: // e.g. -1 _reportInvalidChar(i);
default: // e.g. -1 _reportInvalidChar(i);
default: // e.g. -1 _reportInvalidChar(i);
private final void _skipCppComment() throws IOException, JsonParseException { // Ok: need to find EOF or linefeed final int[] codes = CharTypes.getInputCodeComment(); while ((_inputPtr < _inputEnd) || loadMore()) { int i = (int) _inputBuffer[_inputPtr++] & 0xFF; int code = codes[i]; if (code != 0) { switch (code) { case INT_LF: _skipLF(); return; case INT_CR: _skipCR(); return; case INT_ASTERISK: // nop for these comments break; default: // e.g. -1 // Is this good enough error message? _reportInvalidChar(i); } } } }
private final void _skipCppComment() throws IOException, JsonParseException { // Ok: need to find EOF or linefeed final int[] codes = CharTypes.getInputCodeComment(); while ((_inputPtr < _inputEnd) || loadMore()) { int i = (int) _inputBuffer[_inputPtr++] & 0xFF; int code = codes[i]; if (code != 0) { switch (code) { case INT_LF: _skipLF(); return; case INT_CR: _skipCR(); return; case INT_ASTERISK: // nop for these comments break; default: // e.g. -1 // Is this good enough error message? _reportInvalidChar(i); } } } }
private final void _skipCppComment() throws IOException, JsonParseException { // Ok: need to find EOF or linefeed final int[] codes = CharTypes.getInputCodeComment(); while ((_inputPtr < _inputEnd) || loadMore()) { int i = (int) _inputBuffer[_inputPtr++] & 0xFF; int code = codes[i]; if (code != 0) { switch (code) { case INT_LF: _skipLF(); return; case INT_CR: _skipCR(); return; case INT_ASTERISK: // nop for these comments break; default: // e.g. -1 // Is this good enough error message? _reportInvalidChar(i); } } } }
default: // e.g. -1 _reportInvalidChar(i);
default: // e.g. -1 _reportInvalidChar(i);
default: // e.g. -1 _reportInvalidChar(i);