#include <deal.II/base/parameter_handler.h>
#include <fstream>
+/*
+ * Test that ParameterHandler can read parameters of the form
+ *
+ * set Function = a, \
+ * b, \
+ * c
+ *
+ * correctly. The main point of this test is to exercise the
+ * backslash-handling part of ParameterHandler.
+ */
int main ()
{
#include <deal.II/base/parameter_handler.h>
#include <fstream>
+/*
+ * Test that ParameterHandler can read parameters of the form
+ *
+ * set Function = a,\
+ * \
+ * b,\
+ * \
+ * c
+ *
+ * correctly. This tests how ParameterHandler handles lines that are blank
+ * aside from whitespace and a continuation ('\') character.
+ */
int main ()
{
#include <deal.II/base/parameter_handler.h>
#include <fstream>
+/*
+ * Test that ParameterHandler does not join lines for things like
+ *
+ * set Function = a,\ # first term
+ * b
+ *
+ * since there are non-whitespace characters after the '\'.
+ */
int main ()
{
#include <deal.II/base/parameter_handler.h>
#include <fstream>
+/*
+ * Test that ParameterHandler does *not* join lines for things like
+ *
+ * set Function = a,\ b,
+ * c
+ */
int main ()
{
#include <deal.II/base/parameter_handler.h>
#include <fstream>
+/*
+ * Test that ParameterHandler will stop a line continuation if a completely
+ * blank line follows one with a '\', such as
+ *
+ * set Function_1 = a, \
+ *
+ * b, \
+ * c
+ *
+ * This should *not* be parsed as 'Function_1 = a, b, c'.
+ */
int main ()
{
// ---------------------------------------------------------------------
+/*
+ * Test that ParameterHandler will ignore whitespace characters following a
+ * '\' character when joining lines.
+ */
+
#include "../tests.h"
#include <deal.II/base/logstream.h>
#include <deal.II/base/parameter_handler.h>
#include <deal.II/base/parameter_handler.h>
#include <fstream>
+/*
+ * If a parameter file line ends in a '\', then the whitespace at at the
+ * beginning of the next line is ignored when joining the lines. For example,
+ * the input
+ *
+ * set value = val\
+ * u\
+ * e
+ *
+ * is parsed as 'set value = value'.
+ */
+
int main ()
{