From e948a581b3b73105258bb1975d42cc5e2f9eebf3 Mon Sep 17 00:00:00 2001 From: maxonfjvipon Date: Mon, 6 May 2024 10:42:27 +0300 Subject: [PATCH] feat(#3164): line + pos --- eo-parser/src/main/java/org/eolang/parser/XeEoListener.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/eo-parser/src/main/java/org/eolang/parser/XeEoListener.java b/eo-parser/src/main/java/org/eolang/parser/XeEoListener.java index 544d1406fa..e03f8d6dde 100644 --- a/eo-parser/src/main/java/org/eolang/parser/XeEoListener.java +++ b/eo-parser/src/main/java/org/eolang/parser/XeEoListener.java @@ -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(); }