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:
Sitaram Chamarty 2009-12-01 22:07:46 +05:30
parent e7e6085351
commit a283b8ad49

View file

@ -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/;