Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364955 - [Xtend/Xbase] support float literal
Summary: [Xtend/Xbase] support float literal
Status: CLOSED DUPLICATE of bug 366004
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-28 09:26 EST by Moritz Eysholdt CLA
Modified: 2011-12-08 05:30 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Eysholdt CLA 2011-11-28 09:26:05 EST
Support 

---
class bar {
	float pi = 3.14159	
}
---

The currently supported literals are (copied from Xbase.xtext):
---
XLiteral returns XExpression:
	XClosure |
	XBooleanLiteral |
	XIntLiteral |
	XNullLiteral |
	XStringLiteral |
	XTypeLiteral
;
---
Comment 1 Sven Efftinge CLA 2011-12-08 05:30:59 EST

*** This bug has been marked as a duplicate of bug 366004 ***