Skip to main content



      Home
Home » Modeling » TMF (Xtext) » White space issue(space after keyword giving problem)
White space issue [message #1220708] Fri, 13 December 2013 03:50 Go to next message
Eclipse UserFriend
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 09:42 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

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

Re: White space issue [message #1220783 is a reply to message #1220779] Fri, 13 December 2013 09:52 Go to previous messageGo to next message
Eclipse UserFriend
Hi i just saw you acutally have spaces in keywords. dont do this
Re: White space issue [message #1221227 is a reply to message #1220783] Tue, 17 December 2013 01:56 Go to previous message
Eclipse UserFriend
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: Wed Jul 02 15:18:32 EDT 2025

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

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

Back to the top