]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Escape a string in an error message.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 26 Nov 2011 20:09:45 +0000 (20:09 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 26 Nov 2011 20:09:45 +0000 (20:09 +0000)
git-svn-id: https://svn.dealii.org/trunk@24774 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/base/parameter_handler.cc

index f7aa8e352b6150758fc91f124852b68a68385b61..36fe33fbf111104ed0626302d78510bb6efb05a5 100644 (file)
@@ -2013,7 +2013,8 @@ ParameterHandler::scan_line (std::string        line,
       if (!entries->get_child_optional (get_current_full_path(subsection)))
        {
          std::cerr << "Line " << lineno
-                    << ": There is no such subsection to be entered:" << get_current_full_path(subsection) <<std::endl;
+                    << ": There is no such subsection to be entered: "
+                    << demangle(get_current_full_path(subsection)) << std::endl;
          for (unsigned int i=0; i<subsection_path.size(); ++i)
            std::cerr << std::setw(i*2+4) << " "
                      << "subsection " << subsection_path[i] << std::endl;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.