]> Cypherpunks repositories - gostls13.git/commit
regexp/syntax: remove InstLast
authorRuss Cox <rsc@golang.org>
Thu, 27 Mar 2014 18:05:14 +0000 (14:05 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 27 Mar 2014 18:05:14 +0000 (14:05 -0400)
commitef3c0e7e61ba1a670d69144b5ad8318166490ae8
tree7b4dac375aaa8baf4845528ea4f36794a399a370
parent21b2e168424ee28bd20f7886ab53f68513857fa2
regexp/syntax: remove InstLast

This was added by the one-pass CL (post Go 1.2)
so it can still be removed.

Removing because surely there will be new operations
added later, and we can't change the constant value
once we define it, so "last" is a bad concept to expose.

Nothing uses it.

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/81160043
src/pkg/regexp/syntax/prog.go