Migrate rawStatementArgument()/getStatementSourceReference() callers
[yangtools.git] / yang / yang-parser-rfc7950 / src / main / java / org / opendaylight / yangtools / yang / parser / rfc7950 / stmt / path / PathExpressionParser.java
index 02b92bce9cdd5d12c7c0e20f78a28d3af3bdbc4c..7fae6a57aca9d144cac347332c24a07f35283899 100644 (file)
@@ -79,7 +79,7 @@ class PathExpressionParser {
         final LeafRefPathLexer lexer = new LeafRefPathLexer(CharStreams.fromString(pathArg));
         final LeafRefPathParser parser = new LeafRefPathParser(new CommonTokenStream(lexer));
         final Path_argContext path = SourceExceptionParser.parse(lexer, parser, parser::path_arg,
-            ctx.getStatementSourceReference());
+            ctx.sourceReference());
 
         final ParseTree childPath = path.getChild(0);
         final Steps steps;