Parameter file parsing error message is hidden

Issue #1181 resolved
Erik Schnetter created an issue

Parse errors in parameter files are hidden among other output, and are thus difficult to spot. This example shows this:

cactus::cctk_itlast = 3 ;
ActiveThorns = "HDF5"

The problem is that the error message is output among the activation messages. If the parameter file is long and the syntax error is in the beginning, then several hundred lines may be output after the error message, which makes it very difficult to spot it.

The parsing errors should be output in the same way as other parameter errors, which are prefixed by WARNING etc.

Keyword:

Comments (1)

  1. Roland Haas repo owner
    • changed status to resolved
    • removed comment

    Parsing errors are now (with piraha) much more prominent and are regular warnings (level 0 actually). Piraha was included in the Hack release 2017_06.

  2. Log in to comment