compile: kill preceding space when killing comments
consider: repo = "some desc" # some comment (and note that the regex for recognising a description expects that dblquote to be the *last* character on the line)
This commit is contained in:
parent
e7e6085351
commit
a283b8ad49
|
@ -165,7 +165,7 @@ sub parse_conf_file
|
||||||
s/^ //;
|
s/^ //;
|
||||||
s/ $//;
|
s/ $//;
|
||||||
# kill comments
|
# kill comments
|
||||||
s/#.*//;
|
s/\s*#.*//;
|
||||||
# and blank lines
|
# and blank lines
|
||||||
next unless /\S/;
|
next unless /\S/;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue