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

Syntax error on record [] #1

Closed
stevevestal opened this issue Jan 24, 2013 · 1 comment
Closed

Syntax error on record [] #1

stevevestal opened this issue Jan 24, 2013 · 1 comment
Assignees
Labels

Comments

@stevevestal
Copy link

I am running the latest Ocarina within the latest OSATE. The two now enforce a different syntax for property value records, Ocarina wanting () and OSATE []. The following is accepted by OSATE but not by Ocarina.

package PropValue
public

bus Ethernet_Cable
end Ethernet_Cable;

bus implementation Ethernet_Cable.ARINC_664
properties
    -- The following is legal AADL 2 and accepted by OSATE
    -- but not by Ocarina.  Ocarina only accepts () and OSATE
    -- only accepts [] for records.
    Transmission_Time => [Fixed => 3360 ns .. 3360 ns; PerByte => 80 ns .. 80 ns;];
end Ethernet_Cable.ARINC_664;

system Test
end Test;

system implementation Test.Imp
subcomponents
    aBus : bus Ethernet_Cable.ARINC_664;
end Test.Imp;

end PropValue;

@yoogx
Copy link
Contributor

yoogx commented Jan 24, 2013

There are many areas where Ocarina has to be updated to support AADLv2.1 syntax.
This will be adjusted in the next months.

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

No branches or pull requests

2 participants