Commit 66e60d94 authored by Alexandr Sokolov's avatar Alexandr Sokolov

Merge branch 'pars' of https://sa2systems.ru:88/com/pycomsdk into pars

# Conflicts: # cpp/template.cpp
parents a3e1fb0d 1be7552f
......@@ -22,9 +22,9 @@ BoolArrFunc LoadSelector(std::string lib, std::string func){
}
void check_pred(bool predval, std::string predname) {
if predval{
std::cout<<"Predicate"<<predname<<"returned FALSE!"<<std::endl;
exit(-1)
if (!predval) {
std::cout<<"Predicate "<<predname<<" returned FALSE!"<<std::endl;
exit(-1);
}
}
......@@ -35,7 +35,7 @@ int main(int argc, char const *argv[])
std::cerr<<"Cannot find file:"<<argv[1]<<std::endl;
return -1;
}
com::Anymap data();
auto data = com::Anymap();
parser.loadINIDataToAnyMap(data, {"sld", "tsl", "bc"}, enu_LoadMode::lmRecursive);
//Predicates
% for pred in preds:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment