Skip to content

Commit

Permalink
feat(#3164): line + pos
Browse files Browse the repository at this point in the history
  • Loading branch information
maxonfjvipon committed May 6, 2024
1 parent cc7d909 commit e948a58
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion eo-parser/src/main/java/org/eolang/parser/XeEoListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,11 @@ public void enterAname(final EoParser.AnameContext ctx) {
.enter()
.prop(
"name",
String.format("OBJ-%d", ctx.getStart().getLine())
String.format(
"OBJ-%d%d",
ctx.getStart().getLine(),
ctx.getStart().getCharPositionInLine()
)
)
.leave();
}
Expand Down

0 comments on commit e948a58

Please sign in to comment.