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: 14661
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


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: Tue Mar 19 07:01:28 GMT 2024

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

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

Back to the top