Description | In the latest version of the GUI, it is expected that DataView.aadl contains information about the position of Datatype in the ASN.1 models.
Unfortunately this is done using a new AADL syntax which DMT's AADL parser does not understand:
TASTE::Position_In_File => [ line => 31 ; column => 1 ; ];
The consequence is that we get this error message during the build:
Error in file '../D_view.aadl': unexpected symbol at line 22 (column 39): "=>"
I see two ways to solve this issue:
1) Add the necessary constructs in the AADL parser to read this syntax
2) Add a flag to DMT to decide if we want to generate this line or not
If the second option is chosen, the flag would be used only when updating the data view (in taste-update-data-view), because the new property is needed only in the GUI. During the build from the orchestrator, the Dataview is re-generated (D_view.aadl and D_view_aadlv2.aadl). Those are the one that are parsed by DMT.
|