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 M is currently offline Ramu MFriend
Messages: 8
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: 14665
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 '



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: 14665
Registered: July 2009
Senior Member
Hi i just saw you acutally have spaces in keywords. dont do this

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 M is currently offline Ramu MFriend
Messages: 8
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 Apr 26 01:14:56 GMT 2024

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

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

Back to the top