2
0
mirror of https://github.com/boostorg/spirit.git synced 2026-01-19 04:42:11 +00:00

Qi.Examples: min_xml: Parsing error message tweak

This commit is contained in:
Nikita Kniazev
2018-11-22 15:40:23 +03:00
parent b08a6ddbc5
commit af4f22de40
3 changed files with 3 additions and 3 deletions

View File

@@ -233,7 +233,7 @@ int main(int argc, char **argv)
std::string context(iter, (some>end)?end:some);
std::cout << "-------------------------\n";
std::cout << "Parsing failed\n";
std::cout << "stopped at: \": " << context << "...\"\n";
std::cout << "stopped at: \"" << context << "...\"\n";
std::cout << "-------------------------\n";
return 1;
}

View File

@@ -228,7 +228,7 @@ int main(int argc, char **argv)
std::string context(iter, (some>end)?end:some);
std::cout << "-------------------------\n";
std::cout << "Parsing failed\n";
std::cout << "stopped at: \": " << context << "...\"\n";
std::cout << "stopped at: \"" << context << "...\"\n";
std::cout << "-------------------------\n";
return 1;
}

View File

@@ -237,7 +237,7 @@ int main(int argc, char **argv)
std::string context(iter, (some>end)?end:some);
std::cout << "-------------------------\n";
std::cout << "Parsing failed\n";
std::cout << "stopped at: \": " << context << "...\"\n";
std::cout << "stopped at: \"" << context << "...\"\n";
std::cout << "-------------------------\n";
return 1;
}