add class representing the node tree
add CParser class
This class holds the definitions of all the grammars. It also holds a reference a CTree instance it uses when parsing. This means, that it doesn't have to be declared globally.
Change-Id: I3ca23253b546e26612106067045e1e7d3e2ef919
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7d0c949..8cd1aa9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -49,6 +49,8 @@
set(netconf-cli_SRCS
src/main.cpp
+ src/CTree.cpp
+ src/CParser.cpp
)
add_executable(netconf-cli ${netconf-cli_SRCS})