Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3780)

Issue 6500075: code review 6500075: cmd/gc: give better error for UTF-8-encoded BOM (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 7 months ago by rsc
Modified:
11 years, 7 months ago
Reviewers:
r, dsymonds, bradfitz, adg, golang-dev
Visibility:
Public.

Description

cmd/gc: give better error for UTF-8-encoded BOM Fixes issue 4040.

Patch Set 1 #

Patch Set 2 : diff -r 272e1dd72156 https://code.google.com/p/go/ #

Patch Set 3 : diff -r 272e1dd72156 https://code.google.com/p/go/ #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -0 lines) Patch
M src/cmd/gc/lex.c View 1 2 chunks +7 lines, -0 lines 1 comment Download
A test/syntax/bom.go View 1 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 12
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
11 years, 7 months ago (2012-09-04 19:26:59 UTC) #1
bradfitz
LGTM On Tue, Sep 4, 2012 at 12:26 PM, <rsc@golang.org> wrote: > Reviewers: golang-dev_googlegroups.com, > ...
11 years, 7 months ago (2012-09-04 19:29:26 UTC) #2
dsymonds
http://codereview.appspot.com/6500075/diff/2002/src/cmd/gc/lex.c File src/cmd/gc/lex.c (right): http://codereview.appspot.com/6500075/diff/2002/src/cmd/gc/lex.c#newcode1597 src/cmd/gc/lex.c:1597: if(rune == 0xfeff) { I thought it's only a ...
11 years, 7 months ago (2012-09-05 04:24:57 UTC) #3
r
i'm still thinking about what's right and don't want to make a decision yet, but ...
11 years, 7 months ago (2012-09-05 14:58:35 UTC) #4
rsc
On Wed, Sep 5, 2012 at 10:58 AM, Rob Pike <r@golang.org> wrote: > i'm still ...
11 years, 7 months ago (2012-09-06 00:45:58 UTC) #5
adg
On 6 September 2012 10:45, Russ Cox <rsc@golang.org> wrote: > On Wed, Sep 5, 2012 ...
11 years, 7 months ago (2012-09-06 01:15:33 UTC) #6
r
Sounds like my proposal has resonance. -rob
11 years, 7 months ago (2012-09-06 01:28:34 UTC) #7
r
I had dinner with Ken and he talked me into a slightly different proposal. Rules ...
11 years, 7 months ago (2012-09-06 03:38:58 UTC) #8
rsc
If you do the spec change I'll fix the compiler.
11 years, 7 months ago (2012-09-06 03:49:50 UTC) #9
dsymonds
On Thu, Sep 6, 2012 at 1:38 PM, Rob Pike <r@golang.org> wrote: > 1. BOM ...
11 years, 7 months ago (2012-09-06 04:17:59 UTC) #10
r
Rune literal you mean. Yes, that too. I'll do the spec tomorrow. -rob
11 years, 7 months ago (2012-09-06 06:28:13 UTC) #11
rsc
11 years, 7 months ago (2012-09-10 16:08:53 UTC) #12
*** Abandoned ***
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b