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
d103e5d8
Commit
d103e5d8
authored
Apr 10, 2009
by
Arnaud Charlet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor reformatting.
From-SVN: r145884
parent
4a7dedcb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
gcc/ada/types.ads
+11
-11
No files found.
gcc/ada/types.ads
View file @
d103e5d8
...
...
@@ -210,19 +210,19 @@ package Types is
subtype Source_Ptr is Text_Ptr;
-- Type used to represent a source location, which is a subscript of a
-- character in the source buffer. As noted above, different source
--
buffers have different ranges, so it is possible to tell from a
--
Source_Ptr value which source it refers to. Note that negative numbers
-- a
re allowed to a
ccommodate the following special values.
-- character in the source buffer. As noted above, different source
buffers
--
have different ranges, so it is possible to tell from a Source_Ptr value
--
which source it refers to. Note that negative numbers are allowed to
-- accommodate the following special values.
No_Location : constant Source_Ptr := -1;
-- Value used to indicate no source position set in a node. A test for
--
a Source_Ptr value being > No_Location is the approved way to test
--
for a standard value that does not include No_Location or any of the
--
following special definitions. One important use of No_Location is to
--
label generated nodes that we don'
t
want
the
debugger
to
see
in
normal
--
mode
(
very
often
we
conditionalize
so
that
we
set
No_Location
in
normal
--
mode
and
the
corresponding
source
line
in
-
gnatD
mode
).
-- Value used to indicate no source position set in a node. A test for
a
--
Source_Ptr value being > No_Location is the approved way to test for a
--
standard value that does not include No_Location or any of the following
--
special definitions. One important use of No_Location is to label
--
generated nodes that we don'
t
want
the
debugger
to
see
in
normal
mode
--
(
very
often
we
conditionalize
so
that
we
set
No_Location
in
normal
mode
--
and
the
corresponding
source
line
in
-
gnatD
mode
).
Standard_Location
:
constant
Source_Ptr
:=
-
2
;
--
Used
for
all
nodes
in
the
representation
of
package
Standard
other
than
...
...
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