Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
5945b251
Commit
5945b251
authored
Jul 14, 2009
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- adjust to new token.Position definition
R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=31574 CL=31604
parent
2d58fa6f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
printer.go
src/pkg/go/printer/printer.go
+1
-1
No files found.
src/pkg/go/printer/printer.go
View file @
5945b251
...
...
@@ -55,7 +55,7 @@ func (p *printer) nextComment() {
if
p
.
comments
!=
nil
&&
p
.
cindex
<
len
(
p
.
comments
)
&&
p
.
comments
[
p
.
cindex
]
!=
nil
{
p
.
cpos
=
p
.
comments
[
p
.
cindex
]
.
List
[
0
]
.
Pos
();
}
else
{
p
.
cpos
=
token
.
Position
{
1
<<
30
,
1
<<
30
,
1
};
// infinite
p
.
cpos
=
token
.
Position
{
""
,
1
<<
30
,
1
<<
30
,
1
};
// infinite
}
}
...
...
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