[Commits] [wesnoth/wesnoth] 970c81: Preprocessor: fixed backtrace (fixes #1928)

GitHub noreply at github.com
Sun Sep 3 13:44:50 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 970c815fc4e969616a25436fae0dcc8abff540fa
      https://github.com/wesnoth/wesnoth/commit/970c815fc4e969616a25436fae0dcc8abff540fa
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-09-04 (Mon, 04 Sep 2017)

  Changed paths:
    M src/serialization/preprocessor.cpp

  Log Message:
  -----------
  Preprocessor: fixed backtrace (fixes #1928)

The problem was that the preprocessor_file ctor added its own preprocessor_data object to the queue.
That meant the objects were added in the wrong order, since the former wasn't added to the queue
until its ctor completed, meaning the data object was "under" the file object.


  Commit: e05c6e322a421f63938d3ac20ed82457058e7bfa
      https://github.com/wesnoth/wesnoth/commit/e05c6e322a421f63938d3ac20ed82457058e7bfa
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-09-04 (Mon, 04 Sep 2017)

  Changed paths:
    M src/serialization/preprocessor.cpp

  Log Message:
  -----------
  Preprocessor: minor cleanup


Compare: https://github.com/wesnoth/wesnoth/compare/d729d0fe1c55...e05c6e322a42


More information about the Commits mailing list