summaryrefslogtreecommitdiff
path: root/src/cparse
diff options
context:
space:
mode:
Diffstat (limited to 'src/cparse')
-rw-r--r--src/cparse/cparse.hpp6
-rw-r--r--src/cparse/cparse.ypp2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/cparse/cparse.hpp b/src/cparse/cparse.hpp
index c80562a..289813e 100644
--- a/src/cparse/cparse.hpp
+++ b/src/cparse/cparse.hpp
@@ -22,10 +22,8 @@
namespace cparse {
-using namespace cnode;
-
-CfgNode *parse_file(FILE *fin, Cstore& cs);
-CfgNode *parse_file(const char *fname, Cstore& cs);
+cnode::CfgNode *parse_file(FILE *fin, cstore::Cstore& cs);
+cnode::CfgNode *parse_file(const char *fname, cstore::Cstore& cs);
} // namespace cparse
diff --git a/src/cparse/cparse.ypp b/src/cparse/cparse.ypp
index 3b995aa..e70f09a 100644
--- a/src/cparse/cparse.ypp
+++ b/src/cparse/cparse.ypp
@@ -8,6 +8,8 @@
#include "cparse.hpp"
#include "cparse_def.h"
+using namespace cstore;
+using namespace cnode;
using namespace cparse;
/* to enable tracing, define ENABLE_PARSER_TRACE. may also want to invoke