diff options
| author | Matthew Dempsky <mdempsky@google.com> | 2015-12-09 12:53:28 -0800 |
|---|---|---|
| committer | Matthew Dempsky <mdempsky@google.com> | 2015-12-09 21:25:05 +0000 |
| commit | 07f9c25b357d2eb1305e5016a967df1b00d345bd (patch) | |
| tree | 9e80cc1bdb16f1775ac6572337932b8ea39aeb33 /src/net/http | |
| parent | 0b37a6f47b146cd7b632e0e7370e59ebfbfd660f (diff) | |
| download | go-07f9c25b357d2eb1305e5016a967df1b00d345bd.tar.xz | |
cmd/compile: remove unneeded error message cleanup pass
This code used to be necessary because of the error messages generated
by the YACC-based parser, but they're no longer relevant under the new
recursive descent parser:
- LBRACE no longer exists, so "{ or {" can never occur.
- The parser never generates error messages about "@" or "?" now
(except in import sections, where they're actually legitimate).
- The s/LLITERAL/litbuf/ substitution is handled in p.syntax_error.
Change-Id: Id39f747e4aa492c5830d14a47b161920bd4589ad
Reviewed-on: https://go-review.googlesource.com/17690
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/net/http')
0 files changed, 0 insertions, 0 deletions
