Fix warnings
This commit is contained in:
parent
84e04fbe15
commit
472a589502
@ -9,7 +9,7 @@ import static com.craftinginterpreters.lox.TokenType.*;
|
||||
|
||||
class Scanner {
|
||||
private final String source;
|
||||
private final List<Token> tokens = new ArrayList();
|
||||
private final List<Token> tokens = new ArrayList<Token>();
|
||||
private int start = 0;
|
||||
private int current = 0;
|
||||
private int line = 1;
|
||||
|
||||
@ -27,7 +27,7 @@ public class GenerateAst {
|
||||
|
||||
writer.println("package com.craftinginterpreters.lox;");
|
||||
writer.println();
|
||||
writer.println("import java.util.List;");
|
||||
// writer.println("import java.util.List;");
|
||||
writer.println();
|
||||
writer.println("abstract class " + baseName + " {");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user