commit | 58365b34bb4d84dda4e2fe73cd9eb7e9267ed86c | [log] [tgz] |
---|---|---|
author | Robert Griesemer <gri@golang.org> | Tue Jan 22 15:20:50 2019 -0800 |
committer | Robert Griesemer <gri@golang.org> | Mon Feb 11 23:22:20 2019 +0000 |
tree | 018b87b585c8cbbfebd676c00bac077cc91204e2 | |
parent | 701f6a27b5c2499c1e84c28a3761eb2f1bf6fd7e [diff] |
cmd/compile/internal/syntax: allow more than one rune "unread" Make it possible to "unread" more than one byte before the most recently read rune. Use a better name than ungetr2 and make it slightly more efficient. R=Go1.13 Change-Id: I45d5dfa11e508259a972ca6560d1f78d7a51fe15 Reviewed-on: https://go-review.googlesource.com/c/158957 Reviewed-by: Russ Cox <rsc@golang.org>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 3.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://golang.org/dl/.
After downloading a binary release, visit https://golang.org/doc/install or load doc/install.html in your web browser for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://golang.org/doc/install/source or load doc/install-source.html in your web browser for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines: https://golang.org/doc/contribute.html
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://golang.org/wiki/Questions for a list of places to ask questions about the Go language.