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
Hi
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.
regards
Michal
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: 13665
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 http://xtext.itemis.com or send a mail to xtext at itemis dot de


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Problem with "package" in my DSL
Next Topic:org.eclipse.swt.SWTException: Invalid thread access in AbstractContentAssistProcessorTest
Goto Forum:
  


Current Time: Mon Nov 30 18:33:11 GMT 2020

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

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

Back to the top