Bug 3585 – Duplicate clauses in EqualExpression and RelExpression rules

Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
Other
OS
Linux
Creation time
2009-12-07T07:16:00Z
Last change time
2015-06-09T01:27:05Z
Keywords
spec
Assigned to
nobody
Creator
jlquinn

Comments

Comment #0 by jlquinn — 2009-12-07T07:16:00Z
EqualExpression and IdentityExpression both contain the following clauses: ShiftExpression is ShiftExpression ShiftExpression !is ShiftExpression Either IdentityExpression should be removed from the grammar or these 2 clauses should be removed from EqualExpression --- EqualExpression and RelExpression both contain the following clause: ShiftExpression It should be removed from one or the other. My vote would be to remove it from RelExpression.
Comment #1 by leandro.lucarella — 2009-12-14T06:29:54Z
Comment #2 by bugzilla — 2009-12-31T11:13:07Z
Fixed dmd 1.054 and 2.038