Skip to content

Commit

Permalink
* Adjust checks for parsing refinement of connections
Browse files Browse the repository at this point in the history
        For issue #55
  • Loading branch information
yoogx committed Nov 21, 2015
1 parent 8ae73db commit f3ca336
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
then
DPE (Code, (T_In, T_Left_Curly_Bracket));
Skip_Tokens (T_Semicolon);
return No_Node;
Expand Down

0 comments on commit f3ca336

Please sign in to comment.