Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » xtext grammar ignore everything after a keyword( xtext grammar ignore everything after a keyword)
xtext grammar ignore everything after a keyword [message #1732896] Sun, 22 May 2016 03:52 Go to next message
Sachin Samaram is currently offline Sachin SamaramFriend
Messages: 271
Registered: April 2016
Senior Member
Hi,

Can anybody tell me how to ignore grammar check after a keyword until a new statement starts?

I tried

MyStatement: 'start' -> ';' ;

But it is not working.
Is -> operator works only for terminal rules?
Re: xtext grammar ignore everything after a keyword [message #1732949 is a reply to message #1732896] Mon, 23 May 2016 10:00 Go to previous message
Jan Koehnlein is currently offline Jan KoehnleinFriend
Messages: 760
Registered: July 2009
Location: Hamburg
Senior Member
Yes, it only works for terminal rules.


---
Get professional support from the Xtext committers at www.typefox.io
Previous Topic:Cross linking multiple DSLs in Web Editor
Next Topic:How to modify a model which is not opened in an editor ?
Goto Forum:
  


Current Time: Thu Apr 25 21:45:51 GMT 2024

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

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

Back to the top