[dmd-internals] [D-Programming-Language/dmd] d7ae0d: fix Issue 2354 - conditional compilation rejects e...

GitHub via dmd-internals dmd-internals at puremagic.com
Thu Jul 16 16:51:37 PDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: d7ae0de2a63f1dcc283607f233d34f25e23b9851
      https://github.com/D-Programming-Language/dmd/commit/d7ae0de2a63f1dcc283607f233d34f25e23b9851
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2015-07-16 (Thu, 16 Jul 2015)

  Changed paths:
    M src/parse.c
    M test/compilable/compile1.d

  Log Message:
  -----------
  fix Issue 2354 - conditional compilation rejects else if the declaration is a single pragma

Accept the semicolon followed by `Pragma`, although a semicolon followed by `Attribute` is disallowed in `parseBlock()`.


  Commit: 80a326e0fcc8b4ee941521fb44fed93d8d03c7dd
      https://github.com/D-Programming-Language/dmd/commit/80a326e0fcc8b4ee941521fb44fed93d8d03c7dd
  Author: Daniel Murphy <yebblies at gmail.com>
  Date:   2015-07-17 (Fri, 17 Jul 2015)

  Changed paths:
    M src/parse.c
    M test/compilable/compile1.d

  Log Message:
  -----------
  Merge pull request #4817 from 9rnsr/fix2354

Issue 2354 - conditional compilation rejects else if the declaration is a single pragma


Compare: https://github.com/D-Programming-Language/dmd/compare/4bc3d3d258f3...80a326e0fcc8


More information about the dmd-internals mailing list