[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.modeling.m2m] Re: Enumeration Type

Hello,

this happens because "lazy" is an ATL keyword (to define lazy rules).

If you want to use the lazy word anyway, you write it under ". For example: #"lazy".

There is an post on the ATL archive about this topic:

http://www.sciences.univ-nantes.fr/lina/atl/www/atl_discussion_archive/2062.html

Regards,

Marcos.

yassin wrote:
Hello,
i have problem with enumeration. when i write : if(st.b = #lazy)
there are an error message compilation : " Expecting NAME, found 'lazy' ".
when i show the documentation of ATL there are the same expression : if(aPerson.gender = #male)


some one can help me
thank in advance

Yassin