| Summary: | [serializer] Syntactic sequencer extension for serialization of optional keywords doesn't work | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Miro Spoenemann <msp> | ||||||
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | moritz.eysholdt, sven.efftinge | ||||||
| Version: | 2.1.0 | Flags: | sven.efftinge:
juno+
|
||||||
| Target Milestone: | M4 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Miro Spoenemann
Created attachment 206283 [details]
Syntactic sequencer for the example grammar
Using this syntactic sequencer enforces serialization of the optional exclamation mark, but it works only if the TokenAlias creation in its superclass is modified as described.
Created attachment 206284 [details]
Command handler that serializes a model to demonstrate the problem
Output without correcting AbstractMyDslSyntacticSequencer:
Hello world
Output after correcting the 'many' and 'optional' parameters of match_Greeting_ExclamationMarkKeyword_2_q:
Hello world !
thanks for the detailed report. fixed in branches 'master' and '2.1.x_Maintenance' Closing all bugs that were set to RESOLVED before Neon.0 Closing all bugs that were set to RESOLVED before Neon.0 |