Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
Ocarina
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
TASTE
Ocarina
Commits
9c3eb6a6
Commit
9c3eb6a6
authored
Jan 18, 2016
by
yoogx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Start processing the declarative model from Entries.First
For issue #58
parent
4ec7bf61
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
src/backends/ocarina-be_aadl.adb
src/backends/ocarina-be_aadl.adb
+5
-3
No files found.
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
Markdown
is supported
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