]> git.tuebingen.mpg.de Git - lopsub.git/commit
Fix flag option parsing bug in config file parser.
authorAndre Noll <maan@tuebingen.mpg.de>
Tue, 31 Oct 2023 20:30:16 +0000 (21:30 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Tue, 7 Nov 2023 14:07:31 +0000 (15:07 +0100)
commit3a365ff8b88a29a5774f19a50e0aa8a9d713517f
tree422945073465d4f03b9d5b13dea66b247baa072c
parentb1d260c20c7df69bea7b9882928f8329e786db77
Fix flag option parsing bug in config file parser.

The old code misparses the config file if it contains a flag option
which is followed by a newline which starts with whitespace. In this
case, since newlines belong to the [[:space:]] class, the option is
regarded as an option with argumment.

Fix this by s/:space:/:blank:/. The [[:blank:]] class only contains
space and tab. which is what the code expects.
config_file.l