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
kazoo
Commits
47feeaea
Commit
47feeaea
authored
Oct 26, 2018
by
Maxime Perrotin
Browse files
Ignore function types when creating CV
parent
9fb6c2c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/taste-aadl_parser.adb
View file @
47feeaea
...
...
@@ -348,6 +348,9 @@ package body TASTE.AADL_Parser is
-- Create one thread per Cyclic and Sporadic interface
-- Create one protected block per application code
for
F
of
Model
.
Interface_View
.
Flat_Functions
loop
if
F
.
Is_Type
then
goto
Continue
;
end
if
;
declare
Block
:
Protected_Block
:=
(
Name
=>
F
.
Name
,
...
...
@@ -401,13 +404,13 @@ package body TASTE.AADL_Parser is
New_Item
=>
Thread
);
end
;
end
if
;
end
loop
;
Block
.
Required
:=
F
.
Required
;
-- Add the block to the Concurrency View
Result
.
Blocks
.
Insert
(
Key
=>
To_String
(
Block
.
Name
),
New_Item
=>
Block
);
end
;
<<Continue>>
end
loop
;
-- Find and set protected blocks calling threads
Set_Calling_Threads
(
Result
);
...
...
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