Skip to content

Commit

Permalink
Convert some members of CodeGenerator from private into protected.
Browse files Browse the repository at this point in the history
Signed-off-by: KOLANICH <[email protected]>
  • Loading branch information
KOLANICH committed Nov 21, 2022
1 parent ffb96b9 commit cd69a46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tool/src/org/antlr/v4/codegen/CodeGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class CodeGenerator {

public final String language;

private Target target;
protected Target target;

public int lineWidth = 72;

Expand All @@ -60,7 +60,7 @@ public static CodeGenerator create(Tool tool, Grammar g, String language) {
}
}

private CodeGenerator(Tool tool, Grammar g, String language) {
protected CodeGenerator(Tool tool, Grammar g, String language) {
this.g = g;
this.tool = tool;
this.language = language;
Expand Down

0 comments on commit cd69a46

Please sign in to comment.