Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » B3 » got help from Sebastian - an issue is logged
got help from Sebastian - an issue is logged [message #501841] Fri, 04 December 2009 01:16 Go to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
Hi,
I got help from Sebastian Zarnekow to resolve issues with grammar errors
in 0.8. It turned out that it was my mistake (references must be
containment references to be able to use them from within the grammar).

0.7.2 did not check that this was the case (and generated a parser with
odd behavior instead).

Upgrading to Xtext 0.8 did however not cure the fundamental issue (which
was believed to potentially having been fixed already). I logged this
issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=296889

Regards
- henrik
Re: got help from Sebastian - an issue is logged [message #502005 is a reply to message #501841] Fri, 04 December 2009 17:32 Go to previous message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
Posted a reduced grammar in the bug report. Also managed to work around
the issue by disabling two language constructs (temporarily) - these are
postop (i.e. a++, a--) and closure type declaration on the form (type,
type,...) => type.

With those changes (an ample use of parenthesis around optional
statements) I managed to generate the grammar !!

This means I can proceed with other tasks.

- henrik

On 12/4/09 2:16 AM, Henrik Lindberg wrote:
> Hi,
> I got help from Sebastian Zarnekow to resolve issues with grammar errors
> in 0.8. It turned out that it was my mistake (references must be
> containment references to be able to use them from within the grammar).
>
> 0.7.2 did not check that this was the case (and generated a parser with
> odd behavior instead).
>
> Upgrading to Xtext 0.8 did however not cure the fundamental issue (which
> was believed to potentially having been fixed already). I logged this
> issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=296889
>
> Regards
> - henrik
Re: got help from Sebastian - an issue is logged [message #593294 is a reply to message #501841] Fri, 04 December 2009 17:32 Go to previous message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
Posted a reduced grammar in the bug report. Also managed to work around
the issue by disabling two language constructs (temporarily) - these are
postop (i.e. a++, a--) and closure type declaration on the form (type,
type,...) => type.

With those changes (an ample use of parenthesis around optional
statements) I managed to generate the grammar !!

This means I can proceed with other tasks.

- henrik

On 12/4/09 2:16 AM, Henrik Lindberg wrote:
> Hi,
> I got help from Sebastian Zarnekow to resolve issues with grammar errors
> in 0.8. It turned out that it was my mistake (references must be
> containment references to be able to use them from within the grammar).
>
> 0.7.2 did not check that this was the case (and generated a parser with
> odd behavior instead).
>
> Upgrading to Xtext 0.8 did however not cure the fundamental issue (which
> was believed to potentially having been fixed already). I logged this
> issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=296889
>
> Regards
> - henrik
Previous Topic:got help from Sebastian - an issue is logged
Next Topic:logo idea?
Goto Forum:
  


Current Time: Fri Apr 19 22:17:26 GMT 2024

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

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

Back to the top