Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
a4ab03b0
Commit
a4ab03b0
authored
11 years ago
by
Arnaud Charlet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code clean up.
From-SVN: r207263
parent
68d3bacf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
gcc/ada/prj-part.adb
+6
-6
No files found.
gcc/ada/prj-part.adb
View file @
a4ab03b0
...
...
@@ -155,8 +155,7 @@ package body Prj.Part is
(
Flags
:
Processing_Flags
;
In_Tree
:
Project_Node_Tree_Ref
;
Project
:
Project_Node_Id
);
--
Check
that
a
non
aggregate
project
does
not
import
any
aggregate
--
project
.
--
Check
that
a
non
aggregate
project
does
not
import
an
aggregate
project
procedure
Create_Virtual_Extending_Project
(
For_Project
:
Project_Node_Id
;
...
...
@@ -1116,18 +1115,19 @@ package body Prj.Part is
In_Tree
:
Project_Node_Tree_Ref
;
Project
:
Project_Node_Id
)
is
With_Clause
,
Imported
:
Project_Node_Id
;
With_Clause
:
Project_Node_Id
;
Imported
:
Project_Node_Id
;
begin
if
Project_Qualifier_Of
(
Project
,
In_Tree
)
/=
Aggregate
then
With_Clause
:=
First_With_Clause_Of
(
Project
,
In_Tree
);
while
Present
(
With_Clause
)
loop
Imported
:=
Project_Node_Of
(
With_Clause
,
In_Tree
);
if
Project_Qualifier_Of
(
Imported
,
In_Tree
)
=
Aggregate
then
Error_Msg_Name_1
:=
Name_Id
(
Path_Name_Of
(
Imported
,
In_Tree
));
Error_Msg
(
Flags
,
"cannot import aggregate project %%"
,
Token_Ptr
);
Error_Msg
(
Flags
,
"cannot import aggregate project %%"
,
Token_Ptr
);
exit
;
end
if
;
...
...
This diff is collapsed.
Click to expand it.
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