Skip to content

Commit

Permalink
Update RemoveVariable.java
Browse files Browse the repository at this point in the history
  • Loading branch information
ferriarnus committed Oct 21, 2024
1 parent 1521712 commit 1e24b38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/taumc/glsl/RemoveVariable.java
Original file line number Diff line number Diff line change
@@ -32,9 +32,9 @@ public void exitTypeless_declaration(GLSLParser.Typeless_declarationContext ctx)
cToken.setText(entry.getText());
top.set(entry);
keepWalking = false;
} else {
top.set(ctx);
}
} else {
top.set(ctx.getParent());
}
}
else if (ctx.getParent() instanceof GLSLParser.Init_declarator_listContext list) {

0 comments on commit 1e24b38

Please sign in to comment.