1
0
mirror of https://github.com/golang/go synced 2024-11-21 20:04:44 -07:00
go/test
Ian Lance Taylor c30b570468 test: Match gccgo error messages.
With the recursive descent parser that gccgo uses, I think
that it doesn't make sense to try to match a statement where a
statement is not expected.  If the construct is not a
statement, you will just get bizarre error messages.

topexpr.go:9:1: error: expected declaration
topexpr.go:14:1: error: expected declaration
topexpr.go:19:1: error: expected declaration

R=rsc, r2
CC=golang-dev
https://golang.org/cl/2175041
2010-09-09 22:40:25 -07:00
..
bench build: remove unnecessary references to GOBIN and GOROOT 2010-08-30 15:40:56 -04:00
bugs gc: bug299, bug300 2010-08-03 00:53:32 -07:00
chan test: remove semiocolons. 2010-09-04 10:36:13 +10:00
fixedbugs test: Recognize gccgo error messages. 2010-09-08 13:58:09 -07:00
garbage test/garbage/parser: sync with recent parser changes 2010-09-07 09:55:05 -04:00
interface test: Match gccgo error messages. 2010-09-08 21:03:24 -07:00
ken test new slices 2010-09-08 23:48:01 -04:00
nilptr test: remove semiocolons. 2010-09-04 10:36:13 +10:00
syntax test: Match gccgo error messages. 2010-09-09 22:40:25 -07:00
64bit.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
235.go
args.go
arm-pass.txt arm: bugfixes and syscall 2010-08-06 16:57:49 -07:00
assign1.go gc: new typechecking rules 2010-06-08 18:50:02 -07:00
assign.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
bigalg.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
bigmap.go
blank1.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
blank.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
chancap.go
char_lit1.go test: Match gccgo error messages. 2010-08-31 11:43:52 -07:00
char_lit.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
closedchan.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
closure.go
cmp1.go
cmp2.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
cmp3.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
cmp4.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
cmp5.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
cmplx.go
cmplxdivide1.go test: override gcc bug when preparing complex divide tables 2010-06-30 23:34:27 -07:00
cmplxdivide.c test: override gcc bug when preparing complex divide tables 2010-06-30 23:34:27 -07:00
cmplxdivide.go more soft float support. passes several basic tests 2010-07-20 15:53:16 +03:00
complit.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
compos.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
const1.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
const2.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
const3.go fmt.Print*: reimplement to switch on type first. 2010-06-14 17:16:35 -07:00
const.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
convert3.go test: don't assign address of array to slice. 2010-08-31 07:34:01 -07:00
convert.go
convlit1.go
convlit.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
copy.go misc cleanup: gofmt + &x -> x[0:] conversion 2010-06-08 17:51:57 -07:00
ddd1.go
ddd2.go
ddd3.go
ddd.go
decl.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
declbad.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
defer.go
deferprint.go
empty.go
env.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
errchk test: gccgo and gc print the error on different lines. 2010-08-31 14:12:23 -07:00
escape.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
float_lit.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
floatcmp.go more soft float support. passes several basic tests 2010-07-20 15:53:16 +03:00
for.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
func1.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
func2.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
func3.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
func4.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
func5.go
func.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
gc1.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
gc.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
golden-arm.out arm: bugfixes (stack clobbering, indices) 2010-07-30 10:37:51 +03:00
golden.out gc: bug299, bug300 2010-08-03 00:53:32 -07:00
hashmap.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
helloworld.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
if1.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
if.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
import1.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
import2.go
import3.go
import4.go
import.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
index.go gc: index bounds tests and fixes 2010-08-03 00:26:02 -07:00
indirect1.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
indirect.go
initcomma.go
initialize.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
initializerr.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
initsyscall.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
int_lit.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
intcvt.go
iota.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
literal.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
malloc1.go
mallocfin.go
mallocrand.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
mallocrep1.go
mallocrep.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
map.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
method1.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
method2.go
method3.go
method.go
named1.go test: Match gccgo error messages. 2010-09-08 21:03:51 -07:00
named.go gc: new typechecking rules 2010-06-08 18:50:02 -07:00
nil.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
nul1.go test: Match gccgo error messages. 2010-09-09 09:00:32 -07:00
parentype.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
peano.go test/peano: use directly recursive type def 2010-08-06 15:07:54 -07:00
printbig.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
range.go gc: implement new len spec, range bug fix, optimization 2010-07-01 18:04:25 -07:00
recover1.go
recover2.go gc: index bounds tests and fixes 2010-08-03 00:26:02 -07:00
recover3.go
recover.go
rename1.go
rename.go
run build: remove unnecessary references to GOBIN and GOROOT 2010-08-30 15:40:56 -04:00
run-arm build: remove unnecessary references to GOBIN and GOROOT 2010-08-30 15:40:56 -04:00
runtime.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
sieve.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
sigchld.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
simassign.go
sinit.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
solitaire.go solitaire: an exercise in backtracking and string conversions 2010-09-03 10:52:45 -07:00
stack.go
string_lit.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
stringrange.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
switch1.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
switch.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
test0.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
turing.go test/turing: refactor 2010-09-04 10:40:00 +10:00
typeswitch1.go
typeswitch2.go
typeswitch.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
undef.go gc: less aggressive name binding, for better line numbers in errors 2010-06-12 11:17:24 -07:00
utf.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
varerr.go
varinit.go
vectors.go
zerodivide.go fix build 2010-07-30 10:53:26 +03:00