Bug 13525 – Redundant SpecialKeyword grammar listd in DefaultInitializerExpression

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-09-24T00:32:00Z
Last change time
2014-10-01T14:47:19Z
Keywords
pull, spec
Assigned to
nobody
Creator
k.hara.pg
Blocks
10233

Comments

Comment #0 by k.hara.pg — 2014-09-24T00:32:37Z
In the grammar, DefaultInitializerExpression: AssignExpression SpecialKeyword The SpecialKeyword is redundant because it is present in PrimaryExpression. PrimaryExpression: (snip) SpecialKeyword
Comment #1 by briancschott — 2014-09-24T00:46:46Z
If DefaultInitializerExpression consists only of AssignExpression, it should be removed from the grammar.
Comment #2 by k.hara.pg — 2014-09-24T14:40:43Z
Comment #3 by github-bugzilla — 2014-10-01T14:47:18Z
Commits pushed to master at https://github.com/D-Programming-Language/dlang.org https://github.com/D-Programming-Language/dlang.org/commit/0b4db24b5b07c3051bcf6c06860774d48be77f11 fix Issue 13525 - Redundant SpecialKeyword grammar listd in DefaultInitializerExpression Remove DefaultInitializerExpression and replace with AssignExpression https://github.com/D-Programming-Language/dlang.org/commit/01a407c157eefe5e1bcdfb37f2514f79409d3958 Merge pull request #661 from 9rnsr/fix13525 Issue 13525 - Redundant SpecialKeyword grammar listd in DefaultInitializerExpression