Skip to content

Commit

Permalink
fix readString()
Browse files Browse the repository at this point in the history
  • Loading branch information
Revxrsal committed Oct 3, 2024
1 parent 26b739b commit 7d2ad86
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public int position() {
public @NotNull String readString() {
if (!hasRemaining())
return "";
char next = read();
char next = peek();
if (next == DOUBLE_QUOTE) {
pos += 1;
return readUntil(DOUBLE_QUOTE);
Expand Down

0 comments on commit 7d2ad86

Please sign in to comment.