Skip to content

Commit

Permalink
#2696: alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Dec 11, 2023
1 parent 340ac59 commit 90f0b05
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions eo-parser/src/main/java/org/eolang/parser/XePhiListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ public void enterAttribute(final PhiParser.AttributeContext ctx) {
attr = "<";
} else if (ctx.LABEL() != null) {
attr = ctx.LABEL().getText();
} else if (ctx.alpha() != null) {
attr = ctx.alpha().INDEX().getText();
} else if (ctx.alphaAttr() != null) {
attr = ctx.alphaAttr().INDEX().getText();
} else {
attr = "";
}
Expand All @@ -245,12 +245,12 @@ public void exitAttribute(final PhiParser.AttributeContext ctx) {
}

@Override
public void enterAlpha(final PhiParser.AlphaContext ctx) {
public void enterAlphaAttr(final PhiParser.AlphaAttrContext ctx) {
// Nothing here
}

@Override
public void exitAlpha(final PhiParser.AlphaContext ctx) {
public void exitAlphaAttr(final PhiParser.AlphaAttrContext ctx) {
// Nothing here
}

Expand Down

0 comments on commit 90f0b05

Please sign in to comment.