From 42d382189339e56f3bd13a71933349bc8b7e8b42 Mon Sep 17 00:00:00 2001 From: "Michael G. Schwern" Date: Tue, 17 Aug 1999 14:35:45 -0400 Subject: More descriptive names for operators. To: Ilya Zakharevich 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 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 --- opcode.h | 128 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 64 insertions(+), 64 deletions(-) (limited to 'opcode.h') 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", "", "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", -- cgit v1.2.1