commit | 1d593904dd5f775642dbfd591d19dc0409600c8b | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubernat@cesnet.cz> | Mon Mar 08 08:55:16 2021 +0100 |
committer | Václav Kubernát <kubernat@cesnet.cz> | Mon Mar 08 12:01:26 2021 +0100 |
tree | 2cd4e24172741cc6106621b0a3b24f6b65a210ba | |
parent | a539bcc1b80c10096800dbd2bbd201f879c61c92 [diff] |
Fix `switch` parsing There are actually two fixes: the first one is a direct fix to the linked issue. The attribute of the rule for switch was wrong. I'm not sure how I missed that, but OK, now we have tests. The other bug: For some reason, the completion generator prevented the symbol table parser from running and the value inside the resulting switch_ was undefined. Asserting the attribute of the completion generator seems to solve the issue. I thought this would have something to do with the fact that I'm using single member fusion structs. However, the bug still persisted even when converting them into non-fusion structs (as suggested in the first issue). At some point, all single-member fusion structs should be converted into non-fusion structs, but because it doesn't solve my problem, I won't be doing it now. Issue: https://github.com/boostorg/spirit/issues/463 Issue: https://github.com/boostorg/spirit/issues/659 Issue: https://tree.taiga.io/project/jktjkt-netconf-cli/issue/218 Change-Id: I364b32b76741c198808cc2b3c5027913162d0703
This program provides an interactive console for working with YANG data. It can connect to NETCONF servers, and also talk to sysrepo locally.
For building, one needs:
Use an exact commit of any dependencies as specified in submodules/dependencies/*
.
The build process uses CMake. A quick-and-dirty build with no fancy options can be as simple as mkdir build && cd build && cmake .. && make && make install
.
Issue reporting and feature requests are welcome via Taiga.io.
We are using Gerrit for patch submission, code review and Continuous Integration (CI). Development roadmap and planning happens over Taiga.io.
Copyright © CESNET, https://www.cesnet.cz/ . Portions copyright © Faculty of Information Technology, Czech Technical University in Prague, https://fit.cvut.cz/ . Most of the code was written by Václav Kubernát (CESNET, formerly FIT ČVUT) and Jan Kundrát (CESNET). The project is distributed under the terms of the Apache 2.0 license.