summaryrefslogtreecommitdiff
path: root/opcode.h
diff options
context:
space:
mode:
authorMichael G. Schwern <schwern@pobox.com>1999-08-17 14:35:45 -0400
committerJarkko Hietaniemi <jhi@iki.fi>1999-09-17 20:00:19 +0000
commit42d382189339e56f3bd13a71933349bc8b7e8b42 (patch)
tree215fb6a998d1ae4d5ed8eb149d61ba09d19c0480 /opcode.h
parentb7a02c4fb533bb0a7ae92f82a4a660045d95669a (diff)
downloadperl-42d382189339e56f3bd13a71933349bc8b7e8b42.tar.gz
More descriptive names for operators.
To: Ilya Zakharevich <ilya@math.ohio-state.edu> Cc: perl5-porters@perl.org Subject: Re: [ID 19990817.009] [BUG 5.005_60 & 5.005_03] == reported as eq in Date: Tue, 17 Aug 1999 18:35:45 -0400 Message-ID: <19990817183545.A23073@toldyouso.com> From: Michael G Schwern <schwern@pobox.com> To: perl5-porters@perl.org Subject: [PATCH 5.005_60 opcode.pl and friends] Improved opcode descriptions Date: Wed, 18 Aug 1999 03:53:38 -0400 Message-ID: <19990818035337.A31505@athens.aocn.com> p4raw-id: //depot/cfgperl@4177
Diffstat (limited to 'opcode.h')
-rw-r--r--opcode.h128
1 files changed, 64 insertions, 64 deletions
diff --git a/opcode.h b/opcode.h
index 952763861c..b754adfb2d 100644
--- a/opcode.h
+++ b/opcode.h
@@ -397,18 +397,18 @@ EXT char *PL_op_desc[] = {
"single ref constructor",
"reference-type operator",
"bless",
- "backticks",
+ "quoted execution (``, qx)",
"glob",
"<HANDLE>",
"append I/O operator",
"regexp comp once",
"regexp reset interpolation flag",
"regexp compilation",
- "pattern match",
- "pattern quote",
- "substitution",
+ "pattern match (m//)",
+ "pattern quote (qr//)",
+ "substitution (s///)",
"substitution cont",
- "character translation",
+ "character translation (tr///)",
"scalar assignment",
"list assignment",
"chop",
@@ -419,58 +419,58 @@ EXT char *PL_op_desc[] = {
"undef operator",
"study",
"match position",
- "preincrement",
- "integer preincrement",
- "predecrement",
- "integer predecrement",
- "postincrement",
- "integer postincrement",
- "postdecrement",
- "integer postdecrement",
- "exponentiation",
- "multiplication",
- "integer multiplication",
- "division",
- "integer division",
- "modulus",
- "integer modulus",
- "repeat",
- "addition",
- "integer addition",
- "subtraction",
- "integer subtraction",
- "concatenation",
+ "preincrement (++)",
+ "integer preincrement (++)",
+ "predecrement (--)",
+ "integer predecrement (--)",
+ "postincrement (++)",
+ "integer postincrement (++)",
+ "postdecrement (--)",
+ "integer postdecrement (--)",
+ "exponentiation (**)",
+ "multiplication (*)",
+ "integer multiplication (*)",
+ "division (/)",
+ "integer division (/)",
+ "modulus (%)",
+ "integer modulus (%)",
+ "repeat (x)",
+ "addition (+)",
+ "integer addition (+)",
+ "subtraction (-)",
+ "integer subtraction (-)",
+ "concatenation (.)",
"string",
- "left bitshift",
- "right bitshift",
- "numeric lt",
- "integer lt",
- "numeric gt",
- "integer gt",
- "numeric le",
- "integer le",
- "numeric ge",
- "integer ge",
- "numeric eq",
- "integer eq",
- "numeric ne",
- "integer ne",
- "spaceship operator",
- "integer spaceship",
+ "left bitshift (<<)",
+ "right bitshift (>>)",
+ "numeric lt (<)",
+ "integer lt (<)",
+ "numeric gt (>)",
+ "integer gt (>)",
+ "numeric le (<=)",
+ "integer le (<=)",
+ "numeric ge (>=)",
+ "integer ge (>=)",
+ "numeric eq (==)",
+ "integer eq (==)",
+ "numeric ne (!=)",
+ "integer ne (!=)",
+ "numeric comparison (<=>)",
+ "integer comparison (<=>)",
"string lt",
"string gt",
"string le",
"string ge",
"string eq",
"string ne",
- "string comparison",
- "bitwise and",
- "bitwise xor",
- "bitwise or",
- "negate",
- "integer negate",
+ "string comparison (cmp)",
+ "bitwise and (&)",
+ "bitwise xor (^)",
+ "bitwise or (|)",
+ "negate (-)",
+ "integer negate (-)",
"not",
- "1's complement",
+ "1's complement (~)",
"atan2",
"sin",
"cos",
@@ -493,11 +493,11 @@ EXT char *PL_op_desc[] = {
"ord",
"chr",
"crypt",
- "upper case first",
- "lower case first",
- "upper case",
- "lower case",
- "quote metachars",
+ "ucfirst",
+ "lcfirst",
+ "uc",
+ "lc",
+ "quotemeta",
"array deref",
"known array element",
"array element",
@@ -506,7 +506,7 @@ EXT char *PL_op_desc[] = {
"values",
"keys",
"delete",
- "exists operator",
+ "exists",
"hash deref",
"hash elem",
"hash slice",
@@ -516,8 +516,8 @@ EXT char *PL_op_desc[] = {
"join",
"list",
"list slice",
- "anonymous list",
- "anonymous hash",
+ "anonymous list ([])",
+ "anonymous hash ({})",
"splice",
"push",
"pop",
@@ -532,12 +532,12 @@ EXT char *PL_op_desc[] = {
"flipflop",
"range (or flip)",
"range (or flop)",
- "logical and",
- "logical or",
+ "logical and (&&)",
+ "logical or (||)",
"logical xor",
- "conditional expression",
- "logical and assignment",
- "logical or assignment",
+ "conditional operator (?:)",
+ "logical and assignment (&&=)",
+ "logical or assignment (||=)",
"method lookup",
"subroutine entry",
"subroutine exit",
@@ -684,9 +684,9 @@ EXT char *PL_op_desc[] = {
"semop",
"require",
"do 'file'",
- "eval string",
+ "eval \"string\"",
"eval exit",
- "eval block",
+ "eval {block}",
"eval block exit",
"gethostbyname",
"gethostbyaddr",