Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Problem using append in EGX
Problem using append in EGX [message #1838695] Wed, 03 March 2021 19:16 Go to next message
Nick Annable is currently offline Nick AnnableFriend
Messages: 5
Registered: March 2020
Junior Member
I'm trying to use EGX to generate code in one file using several coordinated rules. When I try to use append I get these errors on the last two lines:

Line: 30, Column: 1, Reason: no viable alternative at input 'append'
Line: 31, Reason: mismatched input: '}'

I had used append about a year ago with no problems. Now it is giving me trouble, even with the code that used to work.

rule tf transform f : Foo{
	template : "template1.egl"
	target : "test.txt"
	append : true
}


Thanks for the help.
Re: Problem using append in EGX [message #1838697 is a reply to message #1838695] Wed, 03 March 2021 19:51 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2165
Registered: July 2009
Location: York, UK
Senior Member

Hi Nick,

This seems to be a regression that was not caught by our test suite. Thank you for reporting this and we'll look into it as soon as possible.

Thanks,
Dimitris

Re: Problem using append in EGX [message #1838698 is a reply to message #1838697] Wed, 03 March 2021 20:00 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2165
Registered: July 2009
Location: York, UK
Senior Member

I've filed https://bugs.eclipse.org/bugs/show_bug.cgi?id=571665 to keep track of this.
Re: Problem using append in EGX [message #1838771 is a reply to message #1838698] Thu, 04 March 2021 19:55 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2165
Registered: July 2009
Location: York, UK
Senior Member

Fixed in https://git.eclipse.org/c/epsilon/org.eclipse.epsilon.git/commit/?id=69b4922f3eef0649e1378d2e1d4a583a758bec87

Thanks again for reporting this.
Re: Problem using append in EGX [message #1838788 is a reply to message #1838771] Fri, 05 March 2021 02:43 Go to previous message
Nick Annable is currently offline Nick AnnableFriend
Messages: 5
Registered: March 2020
Junior Member
thank you for fixing this so quickly!
Previous Topic:Code generation
Next Topic:Mylyn Driver
Goto Forum:
  


Current Time: Sat Apr 27 08:47:38 GMT 2024

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

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

Back to the top