Don't skip tags because there's a comment containing an equals sign

There used to be an issue with this fix, but I can no longer reproduce it.
This commit is contained in:
Alexander van Gessel 2013-12-06 14:29:41 +01:00
parent cc7afb5d67
commit e01fa5e73c

View file

@ -164,7 +164,7 @@ sub read_wml_file {
next LINE if not $valid_wml;
next LINE if defined $str; # skip lookup if inside multi-line
next LINE if m/^ *\{.*\} *$/; # skip lookup if a statement line
next LINE if m/=/; # skip lookup if a field line
next LINE if m/^[^#]*=/; # skip lookup if a field line
while (m,\[ *([a-z/+].*?) *\],g) {
my $nodename = $1;
#my $ind = " " x (@nodeinfostack + ($nodename =~ m,/, ? 0 : 1));