Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Problem with "package" in my DSL
Problem with "package" in my DSL [message #1237658] Thu, 30 January 2014 09:07 Go to next message
Michal Malecki is currently offline Michal MaleckiFriend
Messages: 2
Registered: January 2014
Junior Member
I'm not familiar with XText. I' going throw tutorials (including tutorials from XText site). I've got a problem with use "package" in my DSL.
When I try use "package: in my DSL I've got this validation error: Extraneous input "package" expecting EOF. It is clear that "package" is not accessible in my DSL. I thought that "package" is something like keywords and I can use it - maybe "package"
is from org.eclipse.xtext.common.Terminals
What can I do wrong? Why I cannot use "package" in my DSL?
Thank you in advance for any help.
Re: Problem with "package" in my DSL [message #1237805 is a reply to message #1237658] Thu, 30 January 2014 16:37 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13722
Registered: July 2009
Senior Member
Hi you can only use that keywords you define in your grammar

Need training, onsite consulting or any other kind of help for Xtext?
Go visit or send a mail to xtext at itemis dot de

Need professional support for Xtext, Xpand, EMF?
Go to:
Twitter : @chrdietrich
Blog :
Previous Topic:Problem with "package" in my DSL
Next Topic:org.eclipse.swt.SWTException: Invalid thread access in AbstractContentAssistProcessorTest
Goto Forum:

Current Time: Sun Jan 24 12:56:41 GMT 2021

Powered by FUDForum. Page generated in 0.02500 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top