diff options
Diffstat (limited to 'ymake.cpp')
-rw-r--r-- | ymake.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,6 +2,7 @@ #include "file.h" #include "Builder.h" +#include "MakefileReader.h" #include <algorithm> #include <cstdlib> @@ -41,8 +42,7 @@ namespace { int ymake(int argc, char* argv[]) { try { - pt::ptree ptree; - pt::read_xml(YMakefile, ptree, pt::xml_parser::no_comments | pt::xml_parser::trim_whitespace); + pt::ptree ptree{MakefileReader{}.read(".")}; std::string action{"default"}; |