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
2156961b
Commit
2156961b
authored
Aug 27, 2009
by
Rob Pike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix build. changing var to const, which it should be anyway,
implicitly works around 6g bug. R=rsc OCL=33953 CL=33953
parent
94e69155
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
maketables.go
src/pkg/unicode/maketables.go
+2
-2
tables.go
src/pkg/unicode/tables.go
+2
-2
No files found.
src/pkg/unicode/maketables.go
View file @
2156961b
...
...
@@ -223,7 +223,7 @@ func main() {
}
fmt
.
Printf
(
"// Generated by running
\n
"
"// maketables --tables=%
t
--url=%s
\n
"
"// maketables --tables=%
s
--url=%s
\n
"
"// DO NOT EDIT
\n\n
"
"package unicode
\n\n
"
,
*
tables
,
...
...
@@ -231,7 +231,7 @@ func main() {
);
fmt
.
Println
(
"// Version is the Unicode edition from which the tables are derived."
);
fmt
.
Printf
(
"
var
Version = %q
\n\n
"
,
version
());
fmt
.
Printf
(
"
const
Version = %q
\n\n
"
,
version
());
if
*
tables
==
"all"
{
fmt
.
Println
(
"// Tables is the set of Unicode data tables."
);
...
...
src/pkg/unicode/tables.go
View file @
2156961b
// Generated by running
// maketables --tables=
%t(string)%
--url=http://www.unicode.org/Public/5.1.0/ucd/UnicodeData.txt
// maketables --tables=
all
--url=http://www.unicode.org/Public/5.1.0/ucd/UnicodeData.txt
// DO NOT EDIT
package
unicode
// Version is the Unicode edition from which the tables are derived.
var
Version
=
"5.1.0"
const
Version
=
"5.1.0"
// Tables is the set of Unicode data tables.
var
Tables
=
map
[
string
]
[]
Range
{
...
...
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