Skip to content

Commit

Permalink
Rename function prototypes as well
Browse files Browse the repository at this point in the history
  • Loading branch information
embeddedt committed Oct 26, 2024
1 parent 2003c2a commit a56a09a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/java/org/taumc/glsl/Renamer.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,11 @@ public void enterVariable_identifier(GLSLParser.Variable_identifierContext ctx)
handleIdentifier(ctx.IDENTIFIER());
}
}

@Override
public void enterFunction_prototype(GLSLParser.Function_prototypeContext ctx) {
if(ctx.IDENTIFIER() != null) {
handleIdentifier(ctx.IDENTIFIER());
}
}
}

0 comments on commit a56a09a

Please sign in to comment.