From 119e980c20860b699e853aae02dc133821f119f0 Mon Sep 17 00:00:00 2001 From: phanes Date: Sun, 23 Jan 2022 02:34:28 -0500 Subject: [PATCH] interpolates filename --- src/loaders/abstract/Conf.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/loaders/abstract/Conf.cpp b/src/loaders/abstract/Conf.cpp index d111e59..21e073e 100644 --- a/src/loaders/abstract/Conf.cpp +++ b/src/loaders/abstract/Conf.cpp @@ -73,9 +73,12 @@ Conf::Conf(std::string filename, int LOG_LEVEL ): JSON_Loader(LOG_LEVEL ), slog( std::string jval_s; bool jval_b; + // prepare context spaghetti this->override_context = false; + interpolate( filename); + try { // load the test file. this->load_json_file( filename );