Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
8a439334
Commit
8a439334
authored
Aug 14, 2011
by
Robert Hencke
Committed by
David Symonds
Aug 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
exp/norm: fix incorrect prints found by govet.
R=golang-dev, dsymonds CC=golang-dev
https://golang.org/cl/4895042
parent
6e66b16a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
src/pkg/exp/norm/maketables.go
src/pkg/exp/norm/maketables.go
+1
-3
No files found.
src/pkg/exp/norm/maketables.go
View file @
8a439334
...
@@ -116,7 +116,6 @@ const (
...
@@ -116,7 +116,6 @@ const (
MNumberOfModes
MNumberOfModes
)
)
// This contains only the properties we're interested in.
// This contains only the properties we're interested in.
type
Char
struct
{
type
Char
struct
{
name
string
name
string
...
@@ -267,7 +266,7 @@ func parseCharacter(line string) {
...
@@ -267,7 +266,7 @@ func parseCharacter(line string) {
}
}
x
,
err
=
strconv
.
Atoui64
(
field
[
FCanonicalCombiningClass
])
x
,
err
=
strconv
.
Atoui64
(
field
[
FCanonicalCombiningClass
])
if
err
!=
nil
{
if
err
!=
nil
{
logger
.
Fatal
(
"%U: bad ccc field: %s"
,
int
(
x
),
err
)
logger
.
Fatal
f
(
"%U: bad ccc field: %s"
,
int
(
x
),
err
)
}
}
ccc
:=
uint8
(
x
)
ccc
:=
uint8
(
x
)
decmap
:=
field
[
FDecompMapping
]
decmap
:=
field
[
FDecompMapping
]
...
@@ -438,7 +437,6 @@ func decomposeRecursive(form int, rune int, d Decomposition) Decomposition {
...
@@ -438,7 +437,6 @@ func decomposeRecursive(form int, rune int, d Decomposition) Decomposition {
return
d
return
d
}
}
func
completeCharFields
(
form
int
)
{
func
completeCharFields
(
form
int
)
{
// Phase 0: pre-expand decomposition.
// Phase 0: pre-expand decomposition.
for
i
:=
range
chars
{
for
i
:=
range
chars
{
...
...
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