[dmd-internals] [D-Programming-Language/dmd] 15fa38: fix Issue 12460 - Crash with goto and static if

GitHub noreply at github.com
Mon Apr 7 08:32:25 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 15fa38b9238c1bfb56214dc6ac76963843c011c6
      https://github.com/D-Programming-Language/dmd/commit/15fa38b9238c1bfb56214dc6ac76963843c011c6
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2014-04-07 (Mon, 07 Apr 2014)

  Changed paths:
    M src/statement.c
    M test/compilable/parse10199.d

  Log Message:
  -----------
  fix Issue 12460 - Crash with goto and static if

By implementing issue 10199, LabelStatement::statement may be NULL. So LabelStatement::syntaxCopy should consider the case.


  Commit: aee4e6d51ed3d26b26eb2b7af5ee15d35b7664eb
      https://github.com/D-Programming-Language/dmd/commit/aee4e6d51ed3d26b26eb2b7af5ee15d35b7664eb
  Author: Daniel Murphy <yebblies at gmail.com>
  Date:   2014-04-08 (Tue, 08 Apr 2014)

  Changed paths:
    M src/statement.c
    M test/compilable/parse10199.d

  Log Message:
  -----------
  Merge pull request #3434 from 9rnsr/fix12460

Issue 12460 - Crash with goto and static if


Compare: https://github.com/D-Programming-Language/dmd/compare/b3d2ca068a97...aee4e6d51ed3


More information about the dmd-internals mailing list