]> https://gitweb.dealii.org/ - dealii.git/commit
Make read_input print error messages again. 3122/head
authorDavid Wells <wellsd2@rpi.edu>
Fri, 23 Sep 2016 22:26:11 +0000 (18:26 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Wed, 28 Sep 2016 19:30:44 +0000 (15:30 -0400)
commitf950b8bae38987375193d5073f2e69bcae44c166
treef7e74de0e6a88851f8ca312358f6358025fc666d
parent13387139778aa35ef33f6aad72e9a68d6ec776b8
Make read_input print error messages again.

This commit partially restores the old behavior of read_input: this
function now prints out the exception message and returns
false. Previously this function printed all parsing error messages.

Some tests expected (see 79e0a380fb) read_input to raise a specific
exception message: those were fixed by calling parse_input instead.
source/base/parameter_handler.cc
tests/parameter_handler/parameter_handler_10.cc
tests/parameter_handler/parameter_handler_11.cc
tests/parameter_handler/parameter_handler_1_include_fail.cc
tests/parameter_handler/parameter_handler_20.cc
tests/parameter_handler/parameter_handler_20.output
tests/parameter_handler/parameter_handler_backslash_03.cc
tests/parameter_handler/parameter_handler_backslash_04.cc
tests/parameter_handler/parameter_handler_backslash_05.cc

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.