Force instanceIdentifier to consume all input 15/103915/2
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 3 Jan 2023 19:25:10 +0000 (20:25 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 3 Jan 2023 21:26:10 +0000 (22:26 +0100)
commit9eda34f44f1fc1027c357ad02923484e16b6ac0c
tree8d54d85650b276c16b92a7bdd7cac324209def72
parent8175666c67304af22cda102db8a183784b659799
Force instanceIdentifier to consume all input

We need ANTLR to completely process the input string, hence force an EOF
token in instanceIdentifier.

JIRA: YANGTOOLS-1361
Change-Id: I80f1b326a47857e4e8f36c568901d19f771cef96
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
xpath/yang-xpath-impl/src/main/antlr4/org/opendaylight/yangtools/yang/xpath/antlr/instanceIdentifier.g4