Commit f3ca3362 authored by yoogx's avatar yoogx
Browse files

* Adjust checks for parsing refinement of connections

        For issue #55
parent 8ae73dbe
......@@ -530,7 +530,9 @@ package body Ocarina.FE_AADL.Parser.Components.Connections is
-- Property_Associations are not defined,
-- In_Modes_And_Transitions must exist if Is_Refinement = TRUE
if Is_Refinement and then Token /= T_In then
if Aadl_Version = AADL_V1
and then Is_Refinement and then Token /= T_In
DPE (Code, (T_In, T_Left_Curly_Bracket));
Skip_Tokens (T_Semicolon);
return No_Node;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment