Bug 130759 - Lexer returns incorrect token type for real constants
Summary: Lexer returns incorrect token type for real constants
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Photran.For Internal Use (show other bugs)
Version: 3.0   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Craig E Rasmussen CLA
QA Contact:
URL:
Whiteboard:
Keywords: core
Depends on:
Blocks:
 
Reported: 2006-03-07 12:34 EST by Craig E Rasmussen CLA
Modified: 2009-04-06 10:36 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Craig E Rasmussen CLA 2006-03-07 12:34:02 EST
Real constants without exponent-letter exponent return T_DCON rather than T_RCON.  For instance, 3.0 is a T_DCON.  However, 3.0E0 is a T_RCON as expected.
Comment 1 Craig E Rasmussen CLA 2006-07-22 21:54:24 EDT
I'm reassigning this bug to myself, then I'll set it to resolved (as I've fixed it).
Comment 2 Craig E Rasmussen CLA 2006-07-22 22:00:03 EDT
This bug was fixed by moving the Rcon rules about the Dcon ones so that the Rcon is now the default for real constants without an explicit exponent (i.e., 1.0).
Comment 3 Eclipse Webmaster CLA 2007-07-29 09:19:11 EDT
Changing OS from Mac OS to Mac OS X as per bug 185991