Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » // Comments cause remainder of EGL document to be ignored
// Comments cause remainder of EGL document to be ignored [message #12662] Mon, 16 February 2009 16:22 Go to next message
Steffen Zschaler is currently offline Steffen ZschalerFriend
Messages: 228
Registered: July 2009
Senior Member
Hi,

It seems that using // for line comments in EOL causes the remainder of
an EGL file to be ignored from that position. This is an easy mistake to
make, as the actual comment format is not document for EOL (or have I
overlooked something?)

Steffen

--
Dr. rer. nat. Steffen Zschaler
Senior Research Associate

Lancaster University
Lancaster, United Kingdom

Email szschaler@acm.org
Phone +44 (01524) 510354
WWW http://www.steffen-zschaler.de/

--
Consider submitting to ECMDA-FA 2009, the 5th European Conference on
Model-Driven Architecture Foundations and Applications.
http://www.ecmda-fa.org/

Consider submitting to QoSA 2009, the 5th International Conference on
the Quality of Software-Architectures.
http://qosa.ipd.uka.de/

Consider submitting to MiSE 2009, the 3rd International Workshop on
Models in Software Engineering
http://wikiserver.sse.cs.tu-bs.de/mise09
Re: // Comments cause remainder of EGL document to be ignored [message #12685 is a reply to message #12662] Mon, 16 February 2009 16:28 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Steffen,

This should be indicated with an error marker in the editor... Could you
please file a bug report for this?

Cheers,
Dimitris

Steffen Zschaler wrote:
> Hi,
>
> It seems that using // for line comments in EOL causes the remainder of
> an EGL file to be ignored from that position. This is an easy mistake to
> make, as the actual comment format is not document for EOL (or have I
> overlooked something?)
>
> Steffen
>
Re: // Comments cause remainder of EGL document to be ignored [message #12706 is a reply to message #12662] Tue, 17 February 2009 10:48 Go to previous messageGo to next message
Steffen Zschaler is currently offline Steffen ZschalerFriend
Messages: 228
Registered: July 2009
Senior Member
Bug report filed: https://bugs.eclipse.org/bugs/show_bug.cgi?id=265127

Steffen

Steffen Zschaler wrote:
> Hi,
>
> It seems that using // for line comments in EOL causes the remainder
> of an EGL file to be ignored from that position. This is an easy
> mistake to make, as the actual comment format is not document for EOL
> (or have I overlooked something?)
>
> Steffen
>

--
Dr. rer. nat. Steffen Zschaler
Senior Research Associate

Lancaster University
Lancaster, United Kingdom

Email szschaler@acm.org
Phone +44 (01524) 510354
WWW http://www.steffen-zschaler.de/

--
Consider submitting to ECMDA-FA 2009, the 5th European Conference on
Model-Driven Architecture Foundations and Applications.
http://www.ecmda-fa.org/

Consider submitting to QoSA 2009, the 5th International Conference on
the Quality of Software-Architectures.
http://qosa.ipd.uka.de/

Consider submitting to MiSE 2009, the 3rd International Workshop on
Models in Software Engineering
http://wikiserver.sse.cs.tu-bs.de/mise09
Re: // Comments cause remainder of EGL document to be ignored [message #12793 is a reply to message #12706] Tue, 17 February 2009 12:00 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Steffen,

Thanks for filing the bug report. This has now been fixed but I can't
seem to be able to commit to the SVN at the moment. I'll let you know
once I do.

Cheers,
Dimtiris

Steffen Zschaler wrote:
> Bug report filed: https://bugs.eclipse.org/bugs/show_bug.cgi?id=265127
>
> Steffen
>
> Steffen Zschaler wrote:
>> Hi,
>>
>> It seems that using // for line comments in EOL causes the remainder
>> of an EGL file to be ignored from that position. This is an easy
>> mistake to make, as the actual comment format is not document for EOL
>> (or have I overlooked something?)
>>
>> Steffen
>>
>
Re: // Comments cause remainder of EGL document to be ignored [message #13505 is a reply to message #12793] Tue, 17 February 2009 15:20 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Steffen,

Still no luck with the SVN (see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=265156) but I noticed your
comment on the syntax for comments in EOL and EGL :)

In EOL, the syntax is -- for single line comments and -* *- for
multi-line comments. In EGL on the other hand, you can still comment out
individual EOL statements using the EOL comments but you can also
comment out entire EGL parts including both dynamic and static text
using [* *]. I'll add this to the book shortly.

Cheers,
Dimitris

Dimitris Kolovos wrote:
> Hi Steffen,
>
> Thanks for filing the bug report. This has now been fixed but I can't
> seem to be able to commit to the SVN at the moment. I'll let you know
> once I do.
>
> Cheers,
> Dimtiris
>
> Steffen Zschaler wrote:
>> Bug report filed: https://bugs.eclipse.org/bugs/show_bug.cgi?id=265127
>>
>> Steffen
>>
>> Steffen Zschaler wrote:
>>> Hi,
>>>
>>> It seems that using // for line comments in EOL causes the remainder
>>> of an EGL file to be ignored from that position. This is an easy
>>> mistake to make, as the actual comment format is not document for EOL
>>> (or have I overlooked something?)
>>>
>>> Steffen
>>>
>>
Re: // Comments cause remainder of EGL document to be ignored [message #565379 is a reply to message #12662] Mon, 16 February 2009 16:28 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Steffen,

This should be indicated with an error marker in the editor... Could you
please file a bug report for this?

Cheers,
Dimitris

Steffen Zschaler wrote:
> Hi,
>
> It seems that using // for line comments in EOL causes the remainder of
> an EGL file to be ignored from that position. This is an easy mistake to
> make, as the actual comment format is not document for EOL (or have I
> overlooked something?)
>
> Steffen
>
Re: // Comments cause remainder of EGL document to be ignored [message #565399 is a reply to message #12662] Tue, 17 February 2009 10:48 Go to previous message
Steffen Zschaler is currently offline Steffen ZschalerFriend
Messages: 228
Registered: July 2009
Senior Member
Bug report filed: https://bugs.eclipse.org/bugs/show_bug.cgi?id=265127

Steffen

Steffen Zschaler wrote:
> Hi,
>
> It seems that using // for line comments in EOL causes the remainder
> of an EGL file to be ignored from that position. This is an easy
> mistake to make, as the actual comment format is not document for EOL
> (or have I overlooked something?)
>
> Steffen
>

--
Dr. rer. nat. Steffen Zschaler
Senior Research Associate

Lancaster University
Lancaster, United Kingdom

Email szschaler@acm.org
Phone +44 (01524) 510354
WWW http://www.steffen-zschaler.de/

--
Consider submitting to ECMDA-FA 2009, the 5th European Conference on
Model-Driven Architecture Foundations and Applications.
http://www.ecmda-fa.org/

Consider submitting to QoSA 2009, the 5th International Conference on
the Quality of Software-Architectures.
http://qosa.ipd.uka.de/

Consider submitting to MiSE 2009, the 3rd International Workshop on
Models in Software Engineering
http://wikiserver.sse.cs.tu-bs.de/mise09
Re: // Comments cause remainder of EGL document to be ignored [message #565493 is a reply to message #12706] Tue, 17 February 2009 12:00 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Steffen,

Thanks for filing the bug report. This has now been fixed but I can't
seem to be able to commit to the SVN at the moment. I'll let you know
once I do.

Cheers,
Dimtiris

Steffen Zschaler wrote:
> Bug report filed: https://bugs.eclipse.org/bugs/show_bug.cgi?id=265127
>
> Steffen
>
> Steffen Zschaler wrote:
>> Hi,
>>
>> It seems that using // for line comments in EOL causes the remainder
>> of an EGL file to be ignored from that position. This is an easy
>> mistake to make, as the actual comment format is not document for EOL
>> (or have I overlooked something?)
>>
>> Steffen
>>
>
Re: // Comments cause remainder of EGL document to be ignored [message #565675 is a reply to message #12793] Tue, 17 February 2009 15:20 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Steffen,

Still no luck with the SVN (see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=265156) but I noticed your
comment on the syntax for comments in EOL and EGL :)

In EOL, the syntax is -- for single line comments and -* *- for
multi-line comments. In EGL on the other hand, you can still comment out
individual EOL statements using the EOL comments but you can also
comment out entire EGL parts including both dynamic and static text
using [* *]. I'll add this to the book shortly.

Cheers,
Dimitris

Dimitris Kolovos wrote:
> Hi Steffen,
>
> Thanks for filing the bug report. This has now been fixed but I can't
> seem to be able to commit to the SVN at the moment. I'll let you know
> once I do.
>
> Cheers,
> Dimtiris
>
> Steffen Zschaler wrote:
>> Bug report filed: https://bugs.eclipse.org/bugs/show_bug.cgi?id=265127
>>
>> Steffen
>>
>> Steffen Zschaler wrote:
>>> Hi,
>>>
>>> It seems that using // for line comments in EOL causes the remainder
>>> of an EGL file to be ignored from that position. This is an easy
>>> mistake to make, as the actual comment format is not document for EOL
>>> (or have I overlooked something?)
>>>
>>> Steffen
>>>
>>
Previous Topic:re. Wishlist...
Next Topic:[Eugenia] Including certain GMF options?
Goto Forum:
  


Current Time: Wed Nov 26 01:50:20 GMT 2014

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

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