Follow-up Comment #2, bug #12091 (project wesnoth):
With the attached two files, the only difference is that the message in the
one marked broken has id=, while the one not marked broken has id=Gali. But
wmllint (run without any additional parameters, just
~/share/wesnoth/data/tools/wmllint ./2_Our_Friends_in_the_North.cfg) works
fine on the non-broken one, but gives the following errors when run on the
broken one:
Upgrades for: older -> 1.3.1, 1.3.1 -> 1.3.2, 1.3.2 -> 1.3.3, 1.3.3 -> 1.3.4,
1.3.4 -> 1.3.6, 1.3.6 -> 1.3.9, 1.3.9 -> 1.3.14, 1.3.14 -> trunk.
wmllint: internal error on 2_Our_Friends_in_the_North.cfg
Traceback (most recent call last):
File "/home/turin/share/wesnoth/data/tools/wmllint", line 2229, in ?
changed = translator(fn, maptransforms, texttransform, versions)
File "/home/turin/share/wesnoth/data/tools/wmllint", line 1890, in
translator
newdata = sanity_check(filename, newdata)
File "/home/turin/share/wesnoth/data/tools/wmllint", line 928, in
sanity_check
elif value in ('narrator', 'unit', 'second_unit') or value[0] in ("$",
"{"):
IndexError: string index out of range
(file #4656, file #4657)
_______________________________________________________
Additional Item Attachment:
File name: 2_Our_Friends_in_the_North-broken.cfg Size:2 KB
File name: 2_Our_Friends_in_the_North.cfg Size:2 KB
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?12091>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs