[wesnoth-commits] [wesnoth/wesnoth] 269b89: wmllint: Make a separate function for checking for...

Steve Cotton noreply at github.com
Thu Jun 13 17:26:53 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 269b89f2e30b66dc9a9a4fb46d2c9fea2f3106e6
      https://github.com/wesnoth/wesnoth/commit/269b89f2e30b66dc9a9a4fb46d2c9fea2f3106e6
  Author: Steve Cotton <steve at octalot.co.uk>
  Date:   2019-06-13 (Thu, 13 Jun 2019)

  Changed paths:
    M data/tools/wmllint

  Log Message:
  -----------
  wmllint: Make a separate function for checking for units speaking in their die events

This just moves the existing code, and adds a todo for handling in a later commit.

(cherry picked from commit a3cf683348168619a299c9907fce1d1b4ee9f245)


  Commit: d6cac0c4e7f2261499ab2a4f7a84e7937f8a4e4b
      https://github.com/wesnoth/wesnoth/commit/d6cac0c4e7f2261499ab2a4f7a84e7937f8a4e4b
  Author: Steve Cotton <steve at octalot.co.uk>
  Date:   2019-06-13 (Thu, 13 Jun 2019)

  Changed paths:
    M data/tools/wesnoth/wmliterator3.py
    M data/tools/wmllint

  Log Message:
  -----------
  wmllint: Handle nested events and other things with filters in the death check (closes #4085)

The main reason for moving this to a separate function was to make the
per-event variables local to that function.

(cherry picked from commit 7e69da7f68b10bdf231ebb785b3c73109dc378a8)


Compare: https://github.com/wesnoth/wesnoth/compare/055e793da60c...d6cac0c4e7f2



More information about the Commits mailing list