osate / osate2

Open Source AADL2 Tool Environment
http://osate.org
Eclipse Public License 2.0
39 stars 8 forks source link

Connection id is now mandatory #304

Closed Etienne13 closed 11 years ago

Etienne13 commented 11 years ago

Hi all,

in previous release of osate, the definition of an id for a connection was optional. It seems it became mandatory now. The following code parses normally:

thread implementation receiver.impl calls call : { c : subprogram receiver_spg;}; connections cnx: parameter p -> c.input; properties Compute_Entrypoint_Call_Sequence => reference (call); end receiver.impl;

but if I write:

thread implementation receiver.impl calls call : { c : subprogram receiver_spg;}; connections parameter p -> c.input; properties Compute_Entrypoint_Call_Sequence => reference (call); end receiver.impl;

I get a parsing error. Is it now mandatory to add a connection id, or is it a regression in osate? Thanks, Etienne.

Etienne13 commented 11 years ago

I forgot to precise I use the code from the develop branch.

Etienne.

reteprelief commented 11 years ago

Hi Etienne,

it became mandatory with AADL V2.1. SOmeone recently pointed out that we did not enforce it in OSATE and now we do (in the develop branch).