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

Issue 6497098: code review 6497098: gc: initial BOM is legal. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 6 months ago by r
Modified:
12 years, 6 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

gc: initial BOM is legal. Fixes issue 4040.

Patch Set 1 #

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

Total comments: 3

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

Patch Set 4 : diff -r 67b66dd9ea4a https://code.google.com/p/go #

Patch Set 5 : diff -r 67b66dd9ea4a https://code.google.com/p/go #

Patch Set 6 : diff -r 67b66dd9ea4a https://code.google.com/p/go #

Total comments: 2

Patch Set 7 : diff -r fb4ab2ed7cd5 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -1 line) Patch
M src/cmd/gc/lex.c View 1 2 3 4 5 6 4 chunks +11 lines, -1 line 0 comments Download
A test/bom.go View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download
A test/bombad.go View 1 2 3 4 5 6 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 7
r
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
12 years, 6 months ago (2012-09-07 21:18:32 UTC) #1
rsc
http://codereview.appspot.com/6497098/diff/1003/src/cmd/gc/lex.c File src/cmd/gc/lex.c (right): http://codereview.appspot.com/6497098/diff/1003/src/cmd/gc/lex.c#newcode323 src/cmd/gc/lex.c:323: c = getr(); I'm worried about line number manipulation ...
12 years, 6 months ago (2012-09-10 16:25:52 UTC) #2
r
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 6 months ago (2012-09-10 18:32:47 UTC) #3
r
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 6 months ago (2012-09-10 18:34:41 UTC) #4
r
This is what I meant to do. -rob
12 years, 6 months ago (2012-09-10 18:34:59 UTC) #5
rsc
LGTM http://codereview.appspot.com/6497098/diff/9002/src/cmd/gc/lex.c File src/cmd/gc/lex.c (right): http://codereview.appspot.com/6497098/diff/9002/src/cmd/gc/lex.c#newcode1594 src/cmd/gc/lex.c:1594: yyerror("BOM in middle of file"); suggest "Unicode BOM..." ...
12 years, 6 months ago (2012-09-10 19:45:13 UTC) #6
r
12 years, 6 months ago (2012-09-10 20:03:19 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=cc2bca9c03ef ***

gc: initial BOM is legal.
Fixes issue 4040.

R=rsc
CC=golang-dev
http://codereview.appspot.com/6497098
Sign in to reply to this message.

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