1
0
mirror of https://github.com/golang/go synced 2024-11-23 03:50:03 -07:00
go/src
Robert Griesemer 64cd86798b cmd/compile: better syntax error recovery
Use a combination of follow- and stop-token lists and nesting levels
to better synchronize parser after a syntax error.

Fixes #13319.

Change-Id: I9592e0b5b3ba782fb9f9315fea16163328e204f7
Reviewed-on: https://go-review.googlesource.com/17080
Reviewed-by: Chris Manghane <cmang@golang.org>
2015-11-20 19:56:27 +00:00
..
archive archive/tar: make output deterministic 2015-11-13 02:02:32 +00:00
bufio
builtin
bytes
cmd cmd/compile: better syntax error recovery 2015-11-20 19:56:27 +00:00
compress compress/gzip: specify when Reader.Header is valid 2015-11-13 09:16:53 +00:00
container
crypto crypto/tls: return a typed error on invalid record headers 2015-11-16 21:54:44 +00:00
database/sql database/sql: use RWMutex for driver registration 2015-10-23 04:33:50 +00:00
debug debug/elf: added MIPS ELF relocations 2015-11-12 04:50:32 +00:00
encoding encoding/asn1: enforce use of short form lengths. 2015-11-18 00:53:49 +00:00
errors
expvar
flag
fmt fmt: Add support for capital '%X' format verb for scanning 2015-10-20 01:08:54 +00:00
go cmd/link: add -libgcc option 2015-11-18 02:04:10 +00:00
hash hash/crc32: rename iEEETable to ieeeTable 2015-11-20 04:57:07 +00:00
html html/template, encoding/asn1: fix test errors 2015-11-10 00:30:41 +00:00
image image: add NYCbCrA types. 2015-10-11 11:07:25 +00:00
index/suffixarray
internal internal/syscall/unix: added support for linux/mips64{,le} 2015-11-12 04:51:12 +00:00
io io: simplify documentation for ByteReader 2015-10-06 02:21:29 +00:00
log log/syslog: disable unix/unixgram tests on android 2015-10-21 17:56:51 +00:00
math math/rand: add a comment for the i=0 iteration 2015-11-15 08:21:29 +00:00
mime mime: Remove an allocation in word decoding. 2015-10-18 17:31:52 +00:00
net net/http: start of making all relevant tests test both http1 and http2 2015-11-19 02:41:20 +00:00
os os: use different test files on android 2015-11-20 16:37:21 +00:00
path path/filepath: in Rel use case-insensitive comparison on Windows 2015-11-17 23:48:47 +00:00
reflect reflect: mark mapassign as noescape 2015-11-19 21:35:58 +00:00
regexp regexp: fix slice bounds out of range panics 2015-10-23 03:30:25 +00:00
runtime runtime/pprof: disable TestStackBarrierProfiling on ppc64 2015-11-20 19:39:36 +00:00
sort strings: fix period placement in Search doc comment 2015-11-18 02:58:10 +00:00
strconv
strings strings: add asm version of Index() for short strings on amd64 2015-11-03 16:04:28 +00:00
sync sync/atomic: added support for mips64{,le} 2015-11-12 04:49:45 +00:00
syscall runtime, syscall: use int $0x80 to invoke syscalls on android/386 2015-11-17 20:22:47 +00:00
testing testing: only call flag.Parse if it has not been called before 2015-11-12 19:48:06 +00:00
text text/template: remove redundant indirect 2015-10-28 02:51:40 +00:00
time time: _2006 is a literal _, followed by 2006 2015-11-18 00:06:39 +00:00
unicode unicode/utf8: table-based algorithm for decoding 2015-11-16 21:16:51 +00:00
unsafe
vendor/golang.org/x/net/http2/hpack net/http: update copy of http2 2015-10-21 00:28:55 +00:00
all.bash
all.bat
all.rc
androidtest.bash androidtest.bash: set GOARM=7 2015-10-26 15:20:02 +00:00
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
iostest.bash
make.bash
make.bat
Make.dist
make.rc
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc