commit | 81d3afed2b7f7eba4eed4599dfdd10081f67391e | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Tue Dec 01 19:15:57 2020 -0800 |
committer | Ian Lance Taylor <iant@golang.org> | Wed Dec 02 15:45:46 2020 +0000 |
tree | 27fd3226f35ea90442ec38942864167213b56f15 | |
parent | 2cc5c746ddfbaeb731f10f2232b9a488df12b71e [diff] |
compiler: don't advance past unexpected semicolon We've already read the unexpected semicolon, so advancing again causes us to skip the next token, causing future errors to be out of sync. Change-Id: Id83776a31996dbfd4734420fd3e8b4cfcc14d2f0 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/274439 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com> Reviewed-by: Than McIntosh <thanm@google.com>