go/test/syntax
Ian Lance Taylor 848dff6dda test: update gofrontend expected errors
This matches the error messages after CL 273890.

syntax/semi4.go:11:9: error: unexpected semicolon or newline, expecting ‘{’ after for clause
syntax/semi4.go:10:13: error: reference to undefined name ‘x’
syntax/semi4.go:12:17: error: reference to undefined name ‘z’

Change-Id: Ic88ff6e27d50bf70f5b2114383b84c42c0682f39
Reviewed-on: https://go-review.googlesource.com/c/go/+/273891
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
2020-11-30 20:15:10 +00:00
..
chan.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
chan1.go test: match gofrontend error messages 2020-11-28 02:31:54 +00:00
composite.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
ddd.go cmd/compile: use bufio.Reader directly in lexer 2016-03-11 21:27:23 +00:00
else.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
if.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
import.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
initvar.go cmd/compile/internal/syntax: generalize error about var decls in init clauses 2017-02-13 23:15:32 +00:00
interface.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
semi1.go cmd/compile/internal/parser: improved syntax error for incorrect if/for/switch header 2017-02-09 03:54:47 +00:00
semi2.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
semi3.go cmd/compile/internal/parser: improved syntax error for incorrect if/for/switch header 2017-02-09 03:54:47 +00:00
semi4.go test: update gofrontend expected errors 2020-11-30 20:15:10 +00:00
semi5.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
semi6.go cmd/compile/internal/syntax: differentiate between ';' and '\n' in syntax errors 2017-02-09 01:45:17 +00:00
semi7.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
topexpr.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
typesw.go cmd/compile/internal/syntax: better error when an assignment is used in value context 2020-02-21 22:57:52 +00:00
vareq.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
vareq1.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00