Skip to content

Commit

Permalink
Fix adding less specified constant after adding more specified consta…
Browse files Browse the repository at this point in the history
…nt (#25)
  • Loading branch information
coehlrich authored Mar 25, 2024
1 parent ed94579 commit 694156a
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,10 @@ private void visitSimpleConstantDefinition(Visitor visitor, String[] tokens, int
{
visitor.visitSimpleConstantDefinition(tokens[1], tokens[2], tokens[3], tokens[4], tokens[5]);
}
visitor.visitSimpleConstantDefinition(tokens[1], tokens[2], tokens[3], null, null);
else
{
visitor.visitSimpleConstantDefinition(tokens[1], tokens[2], tokens[3], null, null);
}
}

private void visitFlagConstantDefinition(Visitor visitor, String[] tokens, int lineNumber)
Expand All @@ -142,7 +145,10 @@ private void visitFlagConstantDefinition(Visitor visitor, String[] tokens, int l
{
visitor.visitFlagConstantDefinition(tokens[1], tokens[2], tokens[3], tokens[4], tokens[5]);
}
visitor.visitFlagConstantDefinition(tokens[1], tokens[2], tokens[3], null, null);
else
{
visitor.visitFlagConstantDefinition(tokens[1], tokens[2], tokens[3], null, null);
}
}

private void visitTargetMethodDefinition(Visitor visitor, String[] tokens, int lineNumber)
Expand Down

0 comments on commit 694156a

Please sign in to comment.