Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplication of assignment labels during serialization of edges with multiple updates #33

Open
gerking opened this issue Nov 19, 2024 · 0 comments

Comments

@gerking
Copy link
Contributor

gerking commented Nov 19, 2024

Serializing an edge with multiple comma-separated updates leads to an invalid duplication of the assignment label within the serialized XML (one separate label per assignment).

For example, parsing <label kind = "assignment" > x = 0, y = 1 </label > leads to

<label kind = "assignment" > x = 0 </label > 
<label kind = "assignment" > y = 1 </label >

in the serialized output. Most probably the same issue exists with selections.

This seems to be a known issue in Xtext for unordered groups, which are used by our grammar to enable an arbitrary order of labels for edges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant