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
B
buildsupport
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TASTE
buildsupport
Commits
e37d4b57
Commit
e37d4b57
authored
Feb 13, 2017
by
Maxime Perrotin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove printfs, etc.
parent
fd2e288c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
ada/buildsupport.adb
ada/buildsupport.adb
+4
-2
ada/buildsupport_utils.adb
ada/buildsupport_utils.adb
+0
-6
No files found.
ada/buildsupport.adb
View file @
e37d4b57
...
...
@@ -729,9 +729,11 @@ procedure BuildSupport is
Bus_Classifier
:
Name_Id
:=
No_Name
;
Pkg_Name
:
Name_Id
:=
No_Name
;
begin
-- Iterate on the BUS Instance properties
for
each
in
Properties
.
Iterate
loop
Put_Line
(
Property_Maps
.
Key
(
each
)
&
" : "
&
Property_Maps
.
Element
(
each
));
null
;
-- Put_Line (Property_Maps.Key (each) & " : " &
-- Property_Maps.Element (each));
end
loop
;
Set_Str_To_Name_Buffer
(
""
);
if
ATN
.
Namespace
...
...
ada/buildsupport_utils.adb
View file @
e37d4b57
...
...
@@ -262,16 +262,10 @@ package body Buildsupport_Utils is
single_val
:
Node_Id
;
begin
while
Present
(
property
)
loop
-- pragma Assert (AIN.Kind (property) =
-- AIN.K_Property_Association_Instance);
prop_value
:=
AIN
.
Property_Association_Value
(
property
);
-- prop_value is is of ATN.Kind K_Property_Value
-- Put (Get_Name_String (Display_Name (Identifier (property))));
-- Put_Line (" of kind " & AIN.Kind (property)'Img);
if
Present
(
ATN
.
Single_Value
(
prop_value
))
then
-- Only support single-value properties for now
single_val
:=
ATN
.
Single_Value
(
prop_value
);
Put_Line
(
ATN
.
Kind
(
single_val
)'
Img
);
-- e.g. K_Literal!
result
.
Insert
(
Key
=>
Get_Name_String
(
Display_Name
(
Identifier
(
property
))),
New_Item
=>
...
...
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