Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » New line space error(New line space error)
New line space error [message #1741181] Tue, 23 August 2016 14:36 Go to next message
Sachin Samaram is currently offline Sachin SamaramFriend
Messages: 271
Registered: April 2016
Senior Member
Hi,

How to solve this error?

I have written a terminal rule for new line space

terminal NL : ('\r'? '\n')+;

Then I am getting error like:
index.php/fa/26855/0/


  • Attachment: nl.png
    (Size: 2.27KB, Downloaded 187 times)
Re: New line space error [message #1741186 is a reply to message #1741181] Tue, 23 August 2016 15:10 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13885
Registered: July 2009
Senior Member
i assume NL is neither hidden nor expected in your grammar is it?

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: New line space error [message #1741195 is a reply to message #1741186] Tue, 23 August 2016 15:50 Go to previous messageGo to next message
Sachin Samaram is currently offline Sachin SamaramFriend
Messages: 271
Registered: April 2016
Senior Member
NL is not hidden.
Re: New line space error [message #1741197 is a reply to message #1741195] Tue, 23 August 2016 15:56 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13885
Registered: July 2009
Senior Member
Sachin Samaram <forums-noreply@xxxxxxxx> wrote:
> NL is not hidden.
>

Please adapt the xtext hello world example so that it reproduces the
problem. Then share this grammar with me


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Parsing exception in xtext grammar
Next Topic:Auto Completion
Goto Forum:
  


Current Time: Sun Apr 18 09:16:11 GMT 2021

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

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

Back to the top