Thread overview
[Issue 3587] New: Aggregate rule references undefined Tuple
Dec 07, 2009
Jerry Quinn
Dec 14, 2009
Walter Bright
Dec 14, 2009
Leandro Lucarella
Dec 31, 2009
Walter Bright
December 07, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3587

           Summary: Aggregate rule references undefined Tuple
           Product: D
           Version: 2.036
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: www.digitalmars.com
        AssignedTo: nobody@puremagic.com
        ReportedBy: jlquinn@optonline.net


--- Comment #0 from Jerry Quinn <jlquinn@optonline.net> 2009-12-07 07:28:10 PST ---
http://digitalmars.com/d/2.0/statement.html#ForeachStatement

The Aggregate rule is defined as follows:

Aggregate:
    Expression
    Tuple

However, Tuple is only defined by example.  The grammar needs an entry to specify what is actually legal here.

Without that you can't write, say, a bison grammar without inventing the missing bits.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 14, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3587


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com


--- Comment #1 from Walter Bright <bugzilla@digitalmars.com> 2009-12-14 02:06:15 PST ---
The Tuple should just be removed. Expressions can evaluate to Tuples.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 14, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3587


Leandro Lucarella <llucax@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |llucax@gmail.com


--- Comment #2 from Leandro Lucarella <llucax@gmail.com> 2009-12-14 06:26:00 PST ---
http://www.dsource.org/projects/phobos/changeset/1384

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 31, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3587


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #3 from Walter Bright <bugzilla@digitalmars.com> 2009-12-31 11:13:24 PST ---
Fixed dmd 1.054 and 2.038

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------