Code Review
/
yangtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Force path expression parsing consume all data
[yangtools.git]
/
yang
/
yang-data-impl
/
src
/
main
/
antlr4
/
org
/
opendaylight
/
yangtools
/
yang
/
data
/
impl
/
leafref
/
LeafRefPathParser.g4
diff --git
a/yang/yang-data-impl/src/main/antlr4/org/opendaylight/yangtools/yang/data/impl/leafref/LeafRefPathParser.g4
b/yang/yang-data-impl/src/main/antlr4/org/opendaylight/yangtools/yang/data/impl/leafref/LeafRefPathParser.g4
index ec60a4cc32150afbbc40a00377ac2b2d3cb31145..1ae7f9ef6767130dcebc551a4e2556b850d41d43 100644
(file)
--- a/
yang/yang-data-impl/src/main/antlr4/org/opendaylight/yangtools/yang/data/impl/leafref/LeafRefPathParser.g4
+++ b/
yang/yang-data-impl/src/main/antlr4/org/opendaylight/yangtools/yang/data/impl/leafref/LeafRefPathParser.g4
@@
-4,7
+4,7
@@
options {
tokenVocab = LeafRefPathLexer;
}
-path_arg :
absolute_path | relative_path
;
+path_arg :
(absolute_path | relative_path) EOF
;
absolute_path : (SLASH node_identifier (path_predicate)*)+;