Thread overview
[Issue 1295] New: Some minor errors in the lexer grammar
Jun 27, 2007
d-bugmail
Jun 28, 2007
d-bugmail
Jun 28, 2007
d-bugmail
Jul 01, 2007
d-bugmail
June 27, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1295

           Summary: Some minor errors in the lexer grammar
           Product: D
           Version: 1.017
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: www.digitalmars.com
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: aziz.kerim@gmail.com


Integer shouldn't be in the Integer rule: http://www.digitalmars.com/d/lex.html#integerliteral

p and P should alternate in the HexExponent rule: http://www.digitalmars.com/d/lex.html#floatliteral

Also, some rule names are not followed by a colon.


-- 

June 28, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1295





------- Comment #1 from bugzilla@digitalmars.com  2007-06-27 22:56 -------
p and P already do alternate.


-- 

June 28, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1295





------- Comment #2 from aziz.kerim@gmail.com  2007-06-28 01:30 -------
Yes, you're right. The font my browser used for rendering made it appear as though there are only lower case p letters.


-- 

July 01, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1295


bugzilla@digitalmars.com changed:

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




------- Comment #3 from bugzilla@digitalmars.com  2007-07-01 14:10 -------
Fixed DMD 1.018 and DMD 2.002


--