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

Issue 106010046: code review 106010046: go/parser: extra test cases for ParseExpr (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 10 months ago by gri
Modified:
9 years, 10 months ago
Reviewers:
gmk, bradfitz
CC:
golang-codereviews, wandakkelly_gmail.com, gmk, bradfitz
Visibility:
Public.

Description

go/parser: don't accept trailing explicit semicolon Fixes issue 8207.

Patch Set 1 #

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

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

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

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

Total comments: 2

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -11 lines) Patch
M src/pkg/go/parser/interface.go View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/go/parser/parser_test.go View 1 2 3 4 5 1 chunk +28 lines, -10 lines 0 comments Download

Messages

Total messages: 8
gri
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
9 years, 10 months ago (2014-06-14 19:21:32 UTC) #1
wandakkelly_gmail.com
https://groups.google.com/forum/?hl=th#!forum/pump-heels เมื่อ วันอาทิตย์ที่ 15 มิถุนายน ค.ศ. 2014, 2 นาฬิกา 21 นาที 32 วินาที UTC+7, g...@golang.org ...
9 years, 10 months ago (2014-06-15 04:32:08 UTC) #2
gmk
On 2014/06/14 19:21:32, gri wrote: > Hello mailto:golang-codereviews@googlegroups.com, > > I'd like you to review ...
9 years, 10 months ago (2014-06-15 07:52:14 UTC) #3
bradfitz
LGTM I'd use %q in the Fatalf lines, though. The closing paren in ParseExpr(a + ...
9 years, 10 months ago (2014-06-15 19:16:51 UTC) #4
gri
Hello golang-codereviews@googlegroups.com, wandakkelly@gmail.com, gordon.klaus@gmail.com, bradfitz@golang.org (cc: golang-codereviews@googlegroups.com), Please take another look.
9 years, 10 months ago (2014-06-16 23:27:41 UTC) #5
gmk
LGTM https://codereview.appspot.com/106010046/diff/60001/src/pkg/go/parser/parser_test.go File src/pkg/go/parser/parser_test.go (right): https://codereview.appspot.com/106010046/diff/60001/src/pkg/go/parser/parser_test.go#newcode77 src/pkg/go/parser/parser_test.go:77: t.Fatalf("ParseExpr(%q): %v", src, err) Did you want to ...
9 years, 10 months ago (2014-06-17 06:33:00 UTC) #6
gri
https://codereview.appspot.com/106010046/diff/60001/src/pkg/go/parser/parser_test.go File src/pkg/go/parser/parser_test.go (right): https://codereview.appspot.com/106010046/diff/60001/src/pkg/go/parser/parser_test.go#newcode77 src/pkg/go/parser/parser_test.go:77: t.Fatalf("ParseExpr(%q): %v", src, err) On 2014/06/17 06:32:59, gmk wrote: ...
9 years, 10 months ago (2014-06-17 15:58:10 UTC) #7
gri
9 years, 10 months ago (2014-06-17 15:58:11 UTC) #8
*** Submitted as https://code.google.com/p/go/source/detail?r=c6d05ff52d95 ***

go/parser: don't accept trailing explicit semicolon

Fixes issue 8207.

LGTM=gordon.klaus, bradfitz
R=golang-codereviews, wandakkelly, gordon.klaus, bradfitz
CC=golang-codereviews
https://codereview.appspot.com/106010046
Sign in to reply to this message.

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