Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Deleting first character(P from 'Project' keyword being deleted)
Deleting first character [message #1764560] Wed, 31 May 2017 08:57 Go to next message
Francisco Gonçalves is currently offline Francisco GonçalvesFriend
Messages: 5
Registered: May 2017
Junior Member
Hey guys,

I have the following rule:

'Project' name = ID '{'
            'Name:' nameAlias = STRING 
'}'


When I'm testing my language, Eclipse suggests the keyword 'Project' (when I press Ctrl + Space), but then when I press enter it gives the following error:
'missing 'Project' at 'roject'

Also, on the outline view 'roject' is displayed instead of 'Project'.

Why does it delete the letter 'P'? is 'Project' an invalid keyword? I had no trouble when it was 'project' instead.

Thanks in advance!
PS: Sorry for providing no images, but it is my first message on this forum.
Re: Deleting first character [message #1764715 is a reply to message #1764560] Thu, 01 June 2017 15:05 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
can you please provide a complete grammar? or is this all?

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Deleting first character [message #1764924 is a reply to message #1764715] Sat, 03 June 2017 21:25 Go to previous message
Francisco Gonçalves is currently offline Francisco GonçalvesFriend
Messages: 5
Registered: May 2017
Junior Member
Hey Christian,

Sorry for my late reply, but I was able to fix the problem. Unfortunately can't remember exactly how due to the amount of changes I've done to my code during the last days :/

Best regards

Previous Topic:MyDslDocumentProvider failed to save
Next Topic:Content Assist not acting as expected
Goto Forum:
  


Current Time: Fri Apr 19 14:06:07 GMT 2024

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

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

Back to the top