← Back to index
|
Original Bugzilla link
Bug 1295 – Some minor errors in the lexer grammar
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P3
Component
dlang.org
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2007-06-27T15:15:00Z
Last change time
2014-02-16T15:23:11Z
Assigned to
bugzilla
Creator
aziz.koeksal
Comments
Comment #0
by aziz.koeksal — 2007-06-27T15:15:13Z
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.
Comment #1
by bugzilla — 2007-06-27T22:56:56Z
p and P already do alternate.
Comment #2
by aziz.koeksal — 2007-06-28T01:30:47Z
Yes, you're right. The font my browser used for rendering made it appear as though there are only lower case p letters.
Comment #3
by bugzilla — 2007-07-01T14:10:27Z
Fixed DMD 1.018 and DMD 2.002