Fix path-end list not being added to ParserContext

Although this change isn't really needed for parsing, because it only
concerns path-end lists, and the parsing would end there (or it would
use a different rule if it didn't end), it is needed for generating path
completions, because, if the user types in a path ending with a list and
then tries to generate completions the completions wouldn't have been
generated from the whole path, but from the path, where the list is
located (because the list wasn't added to the ParserContext context path).

Change-Id: Id48926e3a8b1929c17490a2b4a7abadb28ed3d48
1 file changed
tree: 868e8ae84e67270bd511780f1e279ec167740b3e
  1. .clang-format
  2. .gitmodules
  3. 3rdparty/
  4. CMakeLists.txt
  5. Doxyfile.in
  6. LICENSE
  7. LICENSE.md
  8. README.md
  9. ci/
  10. cmake/
  11. docs/
  12. example-schema.yang
  13. src/
  14. submodules/
  15. sysrepo_vars.hpp.in
  16. tests/
README.md

Console interface to NETCONF servers

Credits

Copyright © Faculty of Information Technology, Czech Technical University in Prague, https://fit.cvut.cz/ . Copyright © CESNET, https://www.cesnet.cz/ . Most of the code was written by Václav Kubernát (FIT ČVUT) and Jan Kundrát (CESNET). The project is distributed under the terms of the Apache 2.0 license.