Skip to content

Commit

Permalink
Update size of buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
wuare committed Jun 9, 2021
1 parent 13d4a75 commit fa2c931
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo-compile/src/main/java/top/wuare/syntax/Scanner.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
*/
public class Scanner {
private InputStream in;
private final byte[] buf = new byte[2];
private final byte[] buf = new byte[2048];
private int pos;
private int limit;

private int ch = 0;
private int ch;

public void init() {
this.pos = 0;
Expand Down

0 comments on commit fa2c931

Please sign in to comment.