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
b1446533
Commit
b1446533
authored
Dec 03, 2001
by
Robert Dewar
Committed by
Geert Bosch
Dec 03, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* sem_ch12.adb: Minor reformatting
From-SVN: r47560
parent
d6d32b24
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
gcc/ada/ChangeLog
+4
-0
gcc/ada/sem_ch12.adb
+4
-4
No files found.
gcc/ada/ChangeLog
View file @
b1446533
2001-12-03 <dewar@gnat.com>
* sem_ch12.adb: Minor reformatting
2001-12-03 Ed Schonberg <schonber@gnat.com>
2001-12-03 Ed Schonberg <schonber@gnat.com>
* sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and
* sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and
...
...
gcc/ada/sem_ch12.adb
View file @
b1446533
...
@@ -2691,7 +2691,7 @@ package body Sem_Ch12 is
...
@@ -2691,7 +2691,7 @@ package body Sem_Ch12 is
S := Scope (S);
S := Scope (S);
end loop;
end loop;
-- Find and save all enclosing instances
.
-- Find and save all enclosing instances
S := Current_Scope;
S := Current_Scope;
...
@@ -2709,6 +2709,7 @@ package body Sem_Ch12 is
...
@@ -2709,6 +2709,7 @@ package body Sem_Ch12 is
-- Remove context of current compilation unit, unless we
-- Remove context of current compilation unit, unless we
-- are within a nested package instantiation, in which case
-- are within a nested package instantiation, in which case
-- the context has been removed previously.
-- the context has been removed previously.
-- If current scope is the body of a child unit, remove context
-- If current scope is the body of a child unit, remove context
-- of spec as well.
-- of spec as well.
...
@@ -2734,6 +2735,7 @@ package body Sem_Ch12 is
...
@@ -2734,6 +2735,7 @@ package body Sem_Ch12 is
Save_Scope_Stack;
Save_Scope_Stack;
if Is_Child_Unit (S) then
if Is_Child_Unit (S) then
-- Remove child unit from stack, as well as inner scopes.
-- Remove child unit from stack, as well as inner scopes.
-- Removing the context of a child unit removes parent
-- Removing the context of a child unit removes parent
-- units as well.
-- units as well.
...
@@ -2765,8 +2767,7 @@ package body Sem_Ch12 is
...
@@ -2765,8 +2767,7 @@ package body Sem_Ch12 is
((N, Act_Decl, Expander_Active, Current_Sem_Unit));
((N, Act_Decl, Expander_Active, Current_Sem_Unit));
Pop_Scope;
Pop_Scope;
-- Restore context
-- Restore context.
Set_Is_Immediately_Visible (Gen_Comp, Vis);
Set_Is_Immediately_Visible (Gen_Comp, Vis);
...
@@ -3219,7 +3220,6 @@ package body Sem_Ch12 is
...
@@ -3219,7 +3220,6 @@ package body Sem_Ch12 is
if Parent_Installed then
if Parent_Installed then
Remove_Parent;
Remove_Parent;
end if;
end if;
end Analyze_Subprogram_Instantiation;
end Analyze_Subprogram_Instantiation;
-------------------------
-------------------------
...
...
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