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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user