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
5d5904bb
Commit
5d5904bb
authored
Jun 29, 2009
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug163 bug164 bug166
R=ken OCL=30889 CL=30889
parent
df36629d
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
18 deletions
+12
-18
src/cmd/gc/go.y
src/cmd/gc/go.y
+2
-1
src/cmd/gc/lex.c
src/cmd/gc/lex.c
+7
-4
src/pkg/http/request.go
src/pkg/http/request.go
+1
-1
test/fixedbugs/bug163.go
test/fixedbugs/bug163.go
+1
-1
test/fixedbugs/bug164.go
test/fixedbugs/bug164.go
+1
-2
test/fixedbugs/bug166.go
test/fixedbugs/bug166.go
+0
-0
test/golden.out
test/golden.out
+0
-9
No files found.
src/cmd/gc/go.y
View file @
5d5904bb
...
...
@@ -344,6 +344,7 @@ common_dcl:
varoptsemi:
{
if(yylast == LSEMIBRACE)
yyoptsemi('
=
');
}
...
...
src/cmd/gc/lex.c
View file @
5d5904bb
...
...
@@ -815,6 +815,9 @@ talph:
yyerror
(
"illegal character 0x%ux"
,
rune
);
goto
l0
;
}
// 0xb7 · is used for internal names
if
(
!
isalpharune
(
c
)
&&
!
isdigitrune
(
c
)
&&
c
!=
0xb7
)
yyerror
(
"invalid identifier character 0x%ux"
,
rune
);
break
;
}
c
=
getc
();
...
...
src/pkg/http/request.go
View file @
5d5904bb
...
...
@@ -173,7 +173,7 @@ func (req *Request) write(w io.Writer) os.Error {
Loop
:
for
{
var
nr
,
nw
int
;
var
er
,
ew
os
.
Error
var
er
,
ew
os
.
Error
;
if
nr
,
er
=
req
.
Body
.
Read
(
buf
);
nr
>
0
{
if
er
==
nil
||
er
==
os
.
EOF
{
fmt
.
Fprintf
(
w
,
"%x
\r\n
"
,
nr
);
...
...
test/bugs/bug163.go
→
test/
fixed
bugs/bug163.go
View file @
5d5904bb
...
...
@@ -9,5 +9,5 @@ package main
import
"fmt"
func
main
()
{
日本語
:=
1
;
//
Japanese ideographs are not letters
日本語
:=
1
;
//
ERROR "identifier"
}
test/bugs/bug164.go
→
test/
fixed
bugs/bug164.go
View file @
5d5904bb
...
...
@@ -6,8 +6,7 @@
package
main
// Multi-line string literal do not allow newline chars according to spec
// but 6g accepts this code with the newlines interpreted as newlines.
// Multi-line string literal now allowed.
const
s
=
`
Hello, World!
...
...
test/bugs/bug166.go
→
test/
fixed
bugs/bug166.go
View file @
5d5904bb
File moved
test/golden.out
View file @
5d5904bb
...
...
@@ -105,15 +105,6 @@ BUG: bug159
123
BUG: should fail
=========== bugs/bug163.go
BUG: should not compile
=========== bugs/bug164.go
BUG: should not compile
=========== bugs/bug166.go
BUG: errchk: command succeeded unexpectedly: 6g bugs/bug166.go
=========== fixedbugs/bug016.go
fixedbugs/bug016.go:7: constant -3 overflows uint
...
...
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