move parser/utils to utils, Mux->Mu

Move the parser utils to utils/ and rename the Mux namespace into Mu.
This commit is contained in:
Dirk-Jan C. Binnema
2019-12-16 22:41:17 +02:00
parent b55e191421
commit 9f93526884
24 changed files with 165 additions and 157 deletions

View File

@ -29,9 +29,9 @@ main (int argc, char *argv[])
for (auto i = 1; i < argc; ++i)
s += " " + std::string(argv[i]);
Mux::WarningVec warnings;
Mu::WarningVec warnings;
const auto tree = Mux::parse (s, warnings);
const auto tree = Mu::parse (s, warnings);
for (const auto& w: warnings)
std::cerr << "1:" << w.pos << ": " << w.msg << std::endl;