Skip to content
Permalink
Browse files
Make Script's 'right' field a local variable
  • Loading branch information
PseudoKnight committed Jun 24, 2020
1 parent 784191d commit 625ea38e8edc18a003d3279b9d8ef2972db6f888
Showing 1 changed file with 1 addition and 2 deletions.
@@ -74,7 +74,6 @@ public class Script {
public static boolean debugOutput = false;

private List<Token> left;
private List<List<Token>> right;
private List<Token> fullRight;
private List<Construct> cleft;
private List<ParseTree> cright;
@@ -889,7 +888,7 @@ private boolean compileLeft() {

public void compileRight(Environment env) throws ConfigCompileException, ConfigCompileGroupException {
List<Token> temp = new ArrayList<>();
right = new ArrayList<>();
List<List<Token>> right = new ArrayList<>();
for(Token t : fullRight) {
if(t.type == TType.SEPERATOR) {
right.add(temp);

0 comments on commit 625ea38

Please sign in to comment.