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
88456bc1
Commit
88456bc1
authored
Jan 06, 2017
by
Arnaud Charlet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor reformatting.
From-SVN: r244149
parent
eae66578
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
gcc/ada/checks.adb
+1
-1
gcc/ada/scans.adb
+2
-2
No files found.
gcc/ada/checks.adb
View file @
88456bc1
...
...
@@ -2412,7 +2412,7 @@ package body Checks is
begin
Prag :=
Make_Pragma (Loc,
Chars => Prag_Nam,
Chars
=> Prag_Nam,
Pragma_Argument_Associations => New_List (
Make_Pragma_Argument_Association (Loc,
Chars => Name_Check,
...
...
gcc/ada/scans.adb
View file @
88456bc1
...
...
@@ -140,7 +140,6 @@ package body Scans is
--
Ada
2012
reserved
words
Set_Reserved
(
Name_Some
,
Tok_Some
);
end
Initialize_Ada_Keywords
;
------------------
...
...
@@ -151,6 +150,7 @@ package body Scans is
Tok
:
String
:=
Token
'Img;
pragma Assert (Tok (1 .. 4) = "TOK_");
Name : String renames Tok (5 .. Tok'
Last
);
begin
--
Convert
to
lower
case
.
We
don
't want to add a dependence on a
-- general-purpose To_Lower routine, so we convert "by hand" here.
...
...
@@ -160,7 +160,7 @@ package body Scans is
pragma
Assert
(
Name
(
J
)
in
'A'
..
'Z'
);
Name
(
J
)
:=
Character
'Val (Character'
Pos
(
Name
(
J
))
+
(
Character
'Pos ('
a
') - Character'
Pos
(
'A'
)));
(
Character
'Pos ('
a
') - Character'
Pos
(
'A'
)));
end
loop
;
return
Name_Find
(
Name
);
...
...
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