|
ztsdb
|
19 #ifndef CONFIG_CTX_HPP
20 #define CONFIG_CTX_HPP
24 #include <boost/filesystem.hpp>
25 #include "juice/variant.hpp"
27 #include "config_parser/cfgparser.hpp"
33 #define YY_DECL cfgyy::parser::symbol_type cfgyylex(cfg::CfgCtx& ctx, yyscan_t yyscanner)
37 namespace fsys = boost::filesystem;
44 const void read(CfgMap& cfgmap,
const fsys::path& p);
53 void add(
const kv_t& kv);
58 int parsefile(
const std::string& filename);
62 int parse(
const std::string& s);
72 std::string string_literal;
Definition: config_ctx.hpp:49
int parse(const std::string &s)
Definition: config_ctx.cpp:55
Definition: config_ctx.hpp:47
Two points in a source file.
Definition: location.hh:181
int parsefile(const std::string &filename)
Definition: config_ctx.cpp:42
Definition: config.hpp:35