[wesnoth-commits] [wesnoth/wesnoth] 5462d3: wmllint: don't add description to [attack] tags wi...
Edward Chernenko
noreply at github.com
Mon Nov 4 11:15:01 UTC 2019
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 5462d36561ae9859886219e783b7ba6819a5b406
https://github.com/wesnoth/wesnoth/commit/5462d36561ae9859886219e783b7ba6819a5b406
Author: Edward Chernenko <edwardspec at gmail.com>
Date: 2019-11-04 (Mon, 04 Nov 2019)
Changed paths:
M data/tools/wmllint
Log Message:
-----------
wmllint: don't add description to [attack] tags within [filter_wml]
This fixes situation when wmllint tried to add description=_"fireball"
to the following WML code:
[filter]
[filter_wml]
[not]
[attack]
name=fireball
[/attack]
[/not]
[/filter_wml]
[/filter]
Tags within [filter_wml] don't need to have all mandatory arguments
(like "description"), because:
1) they are temporary constructs and this description is never used,
2) such WML code expects that results will be filtered ONLY by name.
Adding description will remove results that have the same attack name
but different description.
More information about the Commits
mailing list