Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
Ocarina
Commits
9c3eb6a6
Commit
9c3eb6a6
authored
Jan 18, 2016
by
yoogx
Browse files
* Start processing the declarative model from Entries.First
For issue #58
parent
4ec7bf61
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/backends/ocarina-be_aadl.adb
View file @
9c3eb6a6
...
...
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2008-2009 Telecom ParisTech, 2010-201
5
ESA & ISAE. --
-- Copyright (C) 2008-2009 Telecom ParisTech, 2010-201
6
ESA & ISAE. --
-- --
-- Ocarina is free software; you can redistribute it and/or modify under --
-- terms of the GNU General Public License as published by the Free Soft- --
...
...
@@ -193,7 +193,7 @@ package body Ocarina.BE_AADL is
-------------------------
procedure
Generate_AADL_Model
(
Node
:
Node_Id
)
is
pragma
Assert
(
Present
(
Node
)
)
;
pragma
Unreferenced
(
Node
);
procedure
Internal_Print_Subtree
is
new
Print_Constrained_Subtree
(
Always_Printable
);
...
...
@@ -203,7 +203,9 @@ package body Ocarina.BE_AADL is
Set_Output
(
Create_File
(
Get_Name_String
(
Output_Filename
),
Binary
));
end
if
;
Internal_Print_Subtree
(
Node
,
No_Node
);
Internal_Print_Subtree
(
Entries
.
First
,
No_Node
);
-- Note: we use Entries.First instead of Node to visit the
-- whole declarative tree.
Set_Standard_Error
;
end
Generate_AADL_Model
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment