Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355658 - [Marte]VSL grammar : incorrect tuple syntax
Summary: [Marte]VSL grammar : incorrect tuple syntax
Status: NEW
Alias: None
Product: Papyrus
Classification: Modeling
Component: Marte (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-24 06:28 EDT by Esteban DUGUEPEROUX CLA
Modified: 2017-09-26 15:43 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Esteban DUGUEPEROUX CLA 2011-08-24 06:28:25 EDT
Build Identifier: 

In VSL.xtext, in the "org.eclipse.papyrus.marte.vsl" plugin, line 94 your define for a Tuple with "listOfValueNamePairs=ListOfValueNamePairs" surounded with '{' '}' instead of '(' ')' as define in the VSL standard. Then the papyrus implementation of the VSL spec is not correct.

Reproducible: Always
Comment 1 Esteban DUGUEPEROUX CLA 2011-08-24 06:37:21 EDT
In addition, in VSLSerializationUtil class used to get a string representation of a VSL Model, method printTuple() uses also '{' '}' instead of '(' ')' as in the standard. Why do you have your own pretty printer instead of using Xtext which can do that from the grammar?