void (char quote) { // Like nextNonWhitespace, this uses locals 'p' and 'l' to save inner-loop field access. CharSequence in = this.sourceSequence; int p = position; int l = limit; // the index of the first character not yet appended to the builder while (p < l) { int c = in.charAt(p++); if (c == quote) { position = p; return; } else if (c == '\\') { position = p; readEscapeCharacter(); p = position; l = limit; } //else if (c == '\n') { // //lineNumber++; // //lineStart = p; //} } position = p; throw createParseError("Unterminated string"); }