summaryrefslogtreecommitdiff
path: root/regen/opcodes
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-06-12 11:24:46 +0200
committerNicholas Clark <nick@ccl4.org>2011-06-12 11:25:50 +0200
commitbfa148846b45a72a2fce2b0d1bbd85743ed3d081 (patch)
treefb36f600c185c459f2d4966a0c89e04f7b968640 /regen/opcodes
parent93bad3fd55489cbd2d3157da1fcb3b524e960dd2 (diff)
downloadperl-bfa148846b45a72a2fce2b0d1bbd85743ed3d081.tar.gz
Reorder ops so that trans{,r} and aelemfast{,_lex} are adjacent.
Diffstat (limited to 'regen/opcodes')
-rw-r--r--regen/opcodes9
1 files changed, 3 insertions, 6 deletions
diff --git a/regen/opcodes b/regen/opcodes
index d6b778b1bc..2611111ff5 100644
--- a/regen/opcodes
+++ b/regen/opcodes
@@ -88,7 +88,8 @@ qr pattern quote (qr//) ck_match s/
subst substitution (s///) ck_match dis/ S
substcont substitution iterator ck_null dis|
trans transliteration (tr///) ck_match is" S
-# transr (the /r version) is further down.
+# y///r
+transr transliteration (tr///) ck_match is" S
# Lvalue operators.
# sassign is special-cased for op class
@@ -212,6 +213,7 @@ quotemeta quotemeta ck_fun fstu% S?
rv2av array dereference ck_rvconst dt1
aelemfast constant array element ck_null s$ A S
+aelemfast_lex constant lexical array element ck_null d0 A S
aelem array element ck_null s2 A S
aslice array slice ck_null m@ A L
@@ -537,8 +539,3 @@ custom unknown custom operator ck_null 0
reach each on reference ck_each % S
rkeys keys on reference ck_each t% S
rvalues values on reference ck_each t% S
-
-# y///r
-transr transliteration (tr///) ck_match is" S
-
-aelemfast_lex constant lexical array element ck_null d0 A S