Namespace analysis is not generated (correctly) for the following SDF constructs:

Namespace@ID+
Namespace@ID*
Namespace@ID?

To me, the top two should result in a list of references, and the bottom one in a ‘possible’ reference.

I know that you can fix it by introducing an additional production rule, but in my case, I map SDF grammars to metamodels. Fixing this by introducing an additional production rule, would result in a ‘wrong’ metamodel: metamodels would never have references with a multiplicity other than exactly 1.

Fixing it with ‘adjust-index-lookup’ doesn’t seem to be possible (at least not for the top two cases).

Submitted by Oskar van Rest on 21 June 2012 at 05:06

On 25 October 2012 at 11:24 Oskar van Rest closed this issue.

On 25 October 2012 at 11:24 Oskar van Rest commented:

Not relevant anymore since there is NBL now.

Log in to post comments