Skip to content

Commit

Permalink
Update TypeFinder.java
Browse files Browse the repository at this point in the history
  • Loading branch information
ferriarnus committed Oct 21, 2024
1 parent 65e919b commit 25619b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/taumc/glsl/TypeFinder.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ public void enterSingle_declaration(GLSLParser.Single_declarationContext ctx) {
}
}
}
} else if (ctx.getParent() instanceof GLSLParser.Init_declarator_listContext listContext) {
}
if (ctx.getParent() instanceof GLSLParser.Init_declarator_listContext listContext) {
for (var entry : listContext.typeless_declaration()) {
if (entry.IDENTIFIER().getSymbol() instanceof CommonToken cToken) {
if (cToken.getText().equals(name)) {
Expand Down

0 comments on commit 25619b4

Please sign in to comment.