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

Issue 6225047: code review 6225047: go/scanner: strip carriage returns from commments (Closed)

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

Description

go/scanner: strip carriage returns from commments Also: - cleaned up and simplified TestScan - added tests for comments containing carriage returns Fixes issue 3647.

Patch Set 1 #

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

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

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

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

Total comments: 1

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

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

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

Patch Set 9 : diff -r 89a9ef95c8db https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -32 lines) Patch
M src/pkg/go/scanner/scanner.go View 1 2 3 4 5 4 chunks +15 lines, -1 line 0 comments Download
M src/pkg/go/scanner/scanner_test.go View 1 2 3 4 5 3 chunks +53 lines, -31 lines 0 comments Download

Messages

Total messages: 5
gri
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
11 years, 11 months ago (2012-05-22 00:40:31 UTC) #1
rsc
I think the CR change looks good, but I'd prefer not to change the scanner ...
11 years, 11 months ago (2012-05-22 03:28:17 UTC) #2
gri
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 11 months ago (2012-05-22 16:32:53 UTC) #3
rsc
LGTM
11 years, 11 months ago (2012-05-22 17:02:29 UTC) #4
gri
11 years, 11 months ago (2012-05-22 17:03:58 UTC) #5
*** Submitted as http://code.google.com/p/go/source/detail?r=ef8ee411b23b ***

go/scanner: strip carriage returns from commments

Also:
- cleaned up and simplified TestScan
- added tests for comments containing carriage returns

Fixes issue 3647.

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

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