[Commits] [wesnoth/wesnoth] 468f07: Bug in [for] missing step

GitHub noreply at github.com
Thu Jun 22 02:27:40 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 468f07364e2add38d09e5439ad3dab070a1ffc55
      https://github.com/wesnoth/wesnoth/commit/468f07364e2add38d09e5439ad3dab070a1ffc55
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2017-06-21 (Wed, 21 Jun 2017)

  Changed paths:
    M data/lua/wml-flow.lua

  Log Message:
  -----------
  Bug in [for] missing step

https://forums.wesnoth.org/viewtopic.php?t=46450 reports a Lua crash if end is given but step is not. The wiki says the default step is 1. Note that if end is negative, the [for] does nothing (per sniity check).


  Commit: eaccef65f840636a163c5e6ae9d9feb2831db7b0
      https://github.com/wesnoth/wesnoth/commit/eaccef65f840636a163c5e6ae9d9feb2831db7b0
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2017-06-21 (Wed, 21 Jun 2017)

  Changed paths:
    A data/test/scenarios/test_for_tag.cfg
    M wml_test_schedule

  Log Message:
  -----------
  Add WML unit tests for [for] tag


  Commit: 03cb2454b5c25e98f143d8089e36d6fe861c6fe2
      https://github.com/wesnoth/wesnoth/commit/03cb2454b5c25e98f143d8089e36d6fe861c6fe2
  Author: Celtic Minstrel <CelticMinstrel at users.noreply.github.com>
  Date:   2017-06-21 (Wed, 21 Jun 2017)

  Changed paths:
    M data/lua/wml-flow.lua
    A data/test/scenarios/test_for_tag.cfg
    M wml_test_schedule

  Log Message:
  -----------
  Merge pull request #1812 from GregoryLundberg/GL_for_bug

Bug in [for] missing step


Compare: https://github.com/wesnoth/wesnoth/compare/fd9f1153f74d...03cb2454b5c2


More information about the Commits mailing list