[Commits] [wesnoth/wesnoth] 68f865: fix as_arrays for variable_access_const
GitHub
noreply at github.com
Sun Jul 6 21:48:52 UTC 2014
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 68f86524a46802530c0b78776b0de8999b45b192
https://github.com/wesnoth/wesnoth/commit/68f86524a46802530c0b78776b0de8999b45b192
Author: gfgtdf <f492343 at rmqkr.net>
Date: 2014-07-06 (Sun, 06 Jul 2014)
Changed paths:
M src/variable_info.cpp
Log Message:
-----------
fix as_arrays for variable_access_const
previously the code
config c;
variable_access_const("a[1]", c).as_array();
would give an segfault.
now we return a range containing one empty element.
Commit: 792b34686e5a092e0658b4c869fc739e5df55832
https://github.com/wesnoth/wesnoth/commit/792b34686e5a092e0658b4c869fc739e5df55832
Author: gfgtdf <f492343 at rmqkr.net>
Date: 2014-07-06 (Sun, 06 Jul 2014)
Changed paths:
M src/lua/ldo.cpp
Log Message:
-----------
fix assertion error on lua exceptions,
lua uses c++ exceptions of type const lua_longjmp * internaly for lua
exceptions.
Commit: ca8528d3c7c5307b68e41f95451de4a0b63c6dc6
https://github.com/wesnoth/wesnoth/commit/ca8528d3c7c5307b68e41f95451de4a0b63c6dc6
Author: gfgtdf <f492343 at rmqkr.net>
Date: 2014-07-06 (Sun, 06 Jul 2014)
Changed paths:
M src/config.cpp
M src/config.hpp
Log Message:
-----------
fix config comparison
the previous implementation would result in ["a"] == "1" beeing false if
'c["a"] = "1";' happened previously.
Commit: 69a2457a5b67c7c49fde7bad61cd36dd4ee2adea
https://github.com/wesnoth/wesnoth/commit/69a2457a5b67c7c49fde7bad61cd36dd4ee2adea
Author: gfgtdf <f492343 at rmqkr.net>
Date: 2014-07-06 (Sun, 06 Jul 2014)
Changed paths:
M src/tests/test_config.cpp
Log Message:
-----------
extend test_config unit test
Compare: https://github.com/wesnoth/wesnoth/compare/3c01715b599a...69a2457a5b67
More information about the Commits
mailing list