Skip to content

Commit

Permalink
Make diff smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
sungshik committed Nov 4, 2024
1 parent a7aa3f9 commit 41cfe99
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -423,8 +423,6 @@ else if (tree.isChar()) {
}

private void collectAppl(ITree tree, @Nullable String parentCategory) {

// Compute the category
String category = null;
if (TokenTypes.AMBIGUITY.equals(parentCategory)) {
category = TokenTypes.AMBIGUITY;
Expand All @@ -435,7 +433,7 @@ private void collectAppl(ITree tree, @Nullable String parentCategory) {
category = ((IString) catParameter).getValue();
}

IConstructor prod = tree.getProduction();
IConstructor prod = TreeAdapter.getProduction(tree);
if (category == null && ProductionAdapter.isDefault(prod)) {
category = ProductionAdapter.getCategory(prod);
}
Expand Down

0 comments on commit 41cfe99

Please sign in to comment.