Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » EML/ECL example problem
EML/ECL example problem [message #588824] Wed, 05 May 2010 16:48 Go to next message
Bogie is currently offline BogieFriend
Messages: 14
Registered: April 2010
Junior Member
Hi,

I've just started using Epsilon and I'm particularly interested in ECL for comparing models. I run the Heterogeneous Model Merging with ECL/EML example (from the examples on the epsilon site) in eclipse, and I get an error on the line:

t."alias".exists(a|a.name = s.name);

in the Comparison.ecl file. Eclipse says:
multiple markers at this line:
-mismatched input:'alias'
-no viable alternative at input 'alias'
-Line Breakpoint:Comparison.ecl [line:16]

Can someone tell me what's wrong or what can be done?

Bogie
Re: EML/ECL example problem [message #588831 is a reply to message #588824] Wed, 05 May 2010 17:39 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Bogie,

Since 0.8.8 we've changed the escape character for reserved words (i.e.
alias) from " to `. Therefore, t."alias" needs to become t.`alias`
instead. I'll update the example in the SVN shortly.

Cheers,
Dimitris

Bogie wrote:
> Hi,
>
> I've just started using Epsilon and I'm particularly interested in ECL
> for comparing models. I run the Heterogeneous Model Merging with ECL/EML
> example (from the examples on the epsilon site) in eclipse, and I get an
> error on the line:
> t."alias".exists(a|a.name = s.name);
> in the Comparison.ecl file. Eclipse says: multiple markers at this line:
> -mismatched input:'alias'
> -no viable alternative at input 'alias'
> -Line Breakpoint:Comparison.ecl [line:16]
>
> Can someone tell me what's wrong or what can be done?
>
> Bogie


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Previous Topic:Why isn't my model recognised?
Next Topic:EML/ECL example problem
Goto Forum:
  


Current Time: Fri Dec 19 11:43:55 GMT 2014

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

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