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

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jul 16 16:51:39 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=2354

--- Comment #2 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/d7ae0de2a63f1dcc283607f233d34f25e23b9851
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()`.

https://github.com/D-Programming-Language/dmd/commit/80a326e0fcc8b4ee941521fb44fed93d8d03c7dd
Merge pull request #4817 from 9rnsr/fix2354

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

--


More information about the Digitalmars-d-bugs mailing list