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
4d553668
Commit
4d553668
authored
Oct 26, 2001
by
Robert Dewar
Committed by
Geert Bosch
Oct 26, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* prj-util.adb: Minor reformatting. Fix bad header format.
From-SVN: r46550
parent
3e542a58
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
gcc/ada/ChangeLog
+4
-0
gcc/ada/prj-util.adb
+4
-3
No files found.
gcc/ada/ChangeLog
View file @
4d553668
2001-10-26 Robert Dewar <dewar@gnat.com>
* prj-util.adb: Minor reformatting. Fix bad header format.
2001-10-26 Robert Dewar <dewar@gnat.com>
* sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup.
* sinfo.ads: Clarify use of Associated_Node (documentation only).
...
...
gcc/ada/prj-util.adb
View file @
4d553668
...
...
@@ -6,7 +6,7 @@
--
--
--
B
o
d
y
--
--
--
--
$
Revision
$
--
--
$
Revision
$
--
--
--
Copyright
(
C
)
2001
Free
Software
Foundation
,
Inc
.
--
--
--
...
...
@@ -388,6 +388,7 @@ package body Prj.Util is
--
Nothing
to
do
for
empty
strings
if
S
'Length > 0 then
-- Start on a new line if current line is already longer than
-- Max_Length.
...
...
@@ -399,6 +400,7 @@ package body Prj.Util is
-- cut the remainder in several lines.
while Positive (Column) + S'
Last
-
First
>
Max_Length
loop
--
Try
the
maximum
length
possible
Last
:=
First
+
Max_Length
-
Positive
(
Column
);
...
...
@@ -411,6 +413,7 @@ package body Prj.Util is
--
If
we
do
not
find
a
separator
,
we
output
the
maximum
length
--
possible
.
if
Last
<
First
then
Last
:=
First
+
Max_Length
-
Positive
(
Column
);
end
if
;
...
...
@@ -420,13 +423,11 @@ package body Prj.Util is
--
Set
the
beginning
of
the
new
remainder
First
:=
Last
+
1
;
end
loop
;
--
What
is
left
goes
to
the
buffer
,
without
EOL
Write_Str
(
S
(
First
..
S
'Last));
end if;
end Write_Str;
...
...
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