Thread overview
[Issue 3907] New: @ attributes not part of grammar
Mar 09, 2010
Jerry Quinn
[Issue 3907] @ attributes not part of lexical grammar
May 23, 2010
Ellery Newcomer
Jan 19, 2012
Walter Bright
Jan 19, 2012
Walter Bright
March 09, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3907

           Summary: @ attributes not part of grammar
           Product: D
           Version: 2.041
          Platform: All
               URL: http://digitalmars.com/d/2.0/lex.html
        OS/Version: All
            Status: NEW
          Keywords: spec
          Severity: normal
          Priority: P2
         Component: www.digitalmars.com
        AssignedTo: nobody@puremagic.com
        ReportedBy: jlquinn@optonline.net


--- Comment #0 from Jerry Quinn <jlquinn@optonline.net> 2010-03-08 22:03:40 PST ---
The docs mention several attributes starting with @.  The lexical docs don't mention @ at all.

Is i.e. @property a special token?  Or is @ a token followed by the text "property"?  Is whitespace permitted between @ and the remainder of the attribute?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 23, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3907


Ellery Newcomer <ellery-newcomer@utulsa.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ellery-newcomer@utulsa.edu


--- Comment #1 from Ellery Newcomer <ellery-newcomer@utulsa.edu> 2010-05-23 13:45:16 PDT ---
(In reply to comment #0)
> The docs mention several attributes starting with @.  The lexical docs don't mention @ at all.
> 
> Is i.e. @property a special token?  Or is @ a token followed by the text "property"?  Is whitespace permitted between @ and the remainder of the attribute?

A peek in the parser shows '@' is a distinct token followed by an identifier

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 19, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=3907


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> 2012-01-19 12:31:23 PST ---
file:///H:/cbx/mars/doc/declaration.html#Property

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 19, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=3907



--- Comment #3 from Walter Bright <bugzilla@digitalmars.com> 2012-01-19 12:41:35 PST ---
I meant:

http://dlang.org/declaration.html#Property

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