[wesnoth-commits] [wesnoth/wesnoth] 038f0d: Fix comment parsing in wmllint

Charles Dang noreply at github.com
Thu Jan 14 22:24:26 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 038f0d5109815eb9c357b712a0b0ed84fc64250d
      https://github.com/wesnoth/wesnoth/commit/038f0d5109815eb9c357b712a0b0ed84fc64250d
  Author: Andrey Bienkowski <hexagonrecursion at gmail.com>
  Date:   2021-01-14 (Thu, 14 Jan 2021)

  Changed paths:
    M data/tools/wmllint

  Log Message:
  -----------
  Fix comment parsing in wmllint

wmllint saw [side] inside a comment and incorrectly assumed it is reading a side definition

"../../data/multiplayer/scenarios/4p_A_New_Land.cfg", line 484: side number 5 is out of sequence (11 expected)
"../../data/multiplayer/scenarios/4p_A_New_Land.cfg", line 488: side number 5 is out of sequence (11 expected)
"../../data/multiplayer/scenarios/4p_A_New_Land.cfg", line 512: side number 6 is out of sequence (11 expected)
"../../data/multiplayer/scenarios/4p_A_New_Land.cfg", line 516: side number 6 is out of sequence (11 expected)
"../../data/multiplayer/scenarios/4p_A_New_Land.cfg", line 540: side number 7 is out of sequence (11 expected)
"../../data/multiplayer/scenarios/4p_A_New_Land.cfg", line 544: side number 7 is out of sequence (11 expected)
"../../data/multiplayer/scenarios/4p_A_New_Land.cfg", line 568: side number 8 is out of sequence (11 expected)
"../../data/multiplayer/scenarios/4p_A_New_Land.cfg", line 572: side number 8 is out of sequence (11 expected)
"../../data/multiplayer/scenarios/4p_A_New_Land.cfg", line 805: side number 1 is out of sequence (11 expected)
"../../data/multiplayer/scenarios/4p_A_New_Land.cfg", line 818: side number 2 is out of sequence (11 expected)
"../../data/multiplayer/scenarios/4p_A_New_Land.cfg", line 831: side number 3 is out of sequence (11 expected)
"../../data/multiplayer/scenarios/4p_A_New_Land.cfg", line 844: side number 4 is out of sequence (11 expected)


  Commit: f0d51ac57fcbe6ac1c6e64e13311893615e0191d
      https://github.com/wesnoth/wesnoth/commit/f0d51ac57fcbe6ac1c6e64e13311893615e0191d
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-01-15 (Fri, 15 Jan 2021)

  Changed paths:
    M data/tools/wmllint

  Log Message:
  -----------
  Merge pull request #5431 from hexagonrecursion/wmllint-fix-comment-parsing

Fix comment parsing in wmllint


Compare: https://github.com/wesnoth/wesnoth/compare/2157cf976808...f0d51ac57fcb



More information about the Commits mailing list