Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » White space issue(space after keyword giving problem)
White space issue [message #1220708] Fri, 13 December 2013 08:50 Go to next message
Ramu Mothukuru is currently offline Ramu MothukuruFriend
Messages: 7
Registered: December 2013
Junior Member
Hi,
when I am trying to type a space after a keyword its giving following error "required (...)+ loop did not match anything at input ' '"
but when i give more spaces error disappears
in the rule below i got error when i give sapce after 'Create myid'

my grammar is

create name=ID (datestring date=effectiveDate)?

create :
'Create'| 'Add';

datestring : 'effective' (' from ')? ;

effectiveDate : STRING;

Create myid effective from 'August 20,2013'


Re: White space issue [message #1220779 is a reply to message #1220708] Fri, 13 December 2013 14:42 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13493
Registered: July 2009
Senior Member
Hi,

i cannot reproduce this. can you please post a complete reproducable grammar?
do you have keywords/terminals containing spaces or '



Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: White space issue [message #1220783 is a reply to message #1220779] Fri, 13 December 2013 14:52 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13493
Registered: July 2009
Senior Member
Hi i just saw you acutally have spaces in keywords. dont do this

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: White space issue [message #1221227 is a reply to message #1220783] Tue, 17 December 2013 06:56 Go to previous message
Ramu Mothukuru is currently offline Ramu MothukuruFriend
Messages: 7
Registered: December 2013
Junior Member
Hi, Thanks for your reply,i got it corrected ,thanks again
Previous Topic:More proxy resolving issues
Next Topic:Cross reference problem during clean build
Goto Forum:
  


Current Time: Fri Jul 10 12:47:02 GMT 2020

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

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

Back to the top