summaryrefslogtreecommitdiff
path: root/overload.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2011-01-03 16:49:02 +0000
committerDavid Mitchell <davem@iabyn.com>2011-01-03 17:13:25 +0000
commitc4ac9b44187717c7530f3bc3c6329b26e61c1f0b (patch)
tree5f0e0c8a9791803382ea56038ae9b553a9db9c62 /overload.c
parent2c17609f30aa451f45b0a17ed14e5c53245180a3 (diff)
downloadperl-c4ac9b44187717c7530f3bc3c6329b26e61c1f0b.tar.gz
regen/overload.pl: add comments to overload.[ch]
In the auto-generated overload.c and overload.h files, add a comment to each line mapping from the method name to the enumeration name and vice-versa.
Diffstat (limited to 'overload.c')
-rw-r--r--overload.c140
1 files changed, 70 insertions, 70 deletions
diff --git a/overload.c b/overload.c
index acd400355a..4ccba19b63 100644
--- a/overload.c
+++ b/overload.c
@@ -2,8 +2,8 @@
*
* overload.c
*
- * Copyright (C) 1997, 1998, 2000, 2001, 2005, 2006, 2007 by Larry Wall
- * and others
+ * Copyright (C) 1997, 1998, 2000, 2001, 2005, 2006, 2007, 2011
+ * by Larry Wall and others
*
* You may distribute under the terms of either the GNU General Public
* License or the Artistic License, as specified in the README file.
@@ -93,73 +93,73 @@ static const char * const PL_AMG_names[NofAMmeth] = {
this convention is AMG_id2name (used for debugging output and
'nomethod' only), the only other place which has it hardwired is
overload.pm. */
- "()",
- "(${}",
- "(@{}",
- "(%{}",
- "(*{}",
- "(&{}",
- "(++",
- "(--",
- "(bool",
- "(0+",
- "(\"\"",
- "(!",
- "(=",
- "(abs",
- "(neg",
- "(<>",
- "(int",
- "(<",
- "(<=",
- "(>",
- "(>=",
- "(==",
- "(!=",
- "(lt",
- "(le",
- "(gt",
- "(ge",
- "(eq",
- "(ne",
- "(nomethod",
- "(+",
- "(+=",
- "(-",
- "(-=",
- "(*",
- "(*=",
- "(/",
- "(/=",
- "(%",
- "(%=",
- "(**",
- "(**=",
- "(<<",
- "(<<=",
- "(>>",
- "(>>=",
- "(&",
- "(&=",
- "(|",
- "(|=",
- "(^",
- "(^=",
- "(<=>",
- "(cmp",
- "(~",
- "(atan2",
- "(cos",
- "(sin",
- "(exp",
- "(log",
- "(sqrt",
- "(x",
- "(x=",
- "(.",
- "(.=",
- "(~~",
- "(-X",
- "(qr",
+ "()", /* fallback */
+ "(${}", /* to_sv */
+ "(@{}", /* to_av */
+ "(%{}", /* to_hv */
+ "(*{}", /* to_gv */
+ "(&{}", /* to_cv */
+ "(++", /* inc */
+ "(--", /* dec */
+ "(bool", /* bool_ */
+ "(0+", /* numer */
+ "(\"\"", /* string */
+ "(!", /* not */
+ "(=", /* copy */
+ "(abs", /* abs */
+ "(neg", /* neg */
+ "(<>", /* iter */
+ "(int", /* int */
+ "(<", /* lt */
+ "(<=", /* le */
+ "(>", /* gt */
+ "(>=", /* ge */
+ "(==", /* eq */
+ "(!=", /* ne */
+ "(lt", /* slt */
+ "(le", /* sle */
+ "(gt", /* sgt */
+ "(ge", /* sge */
+ "(eq", /* seq */
+ "(ne", /* sne */
+ "(nomethod", /* nomethod */
+ "(+", /* add */
+ "(+=", /* add_ass */
+ "(-", /* subtr */
+ "(-=", /* subtr_ass */
+ "(*", /* mult */
+ "(*=", /* mult_ass */
+ "(/", /* div */
+ "(/=", /* div_ass */
+ "(%", /* modulo */
+ "(%=", /* modulo_ass */
+ "(**", /* pow */
+ "(**=", /* pow_ass */
+ "(<<", /* lshift */
+ "(<<=", /* lshift_ass */
+ "(>>", /* rshift */
+ "(>>=", /* rshift_ass */
+ "(&", /* band */
+ "(&=", /* band_ass */
+ "(|", /* bor */
+ "(|=", /* bor_ass */
+ "(^", /* bxor */
+ "(^=", /* bxor_ass */
+ "(<=>", /* ncmp */
+ "(cmp", /* scmp */
+ "(~", /* compl */
+ "(atan2", /* atan2 */
+ "(cos", /* cos */
+ "(sin", /* sin */
+ "(exp", /* exp */
+ "(log", /* log */
+ "(sqrt", /* sqrt */
+ "(x", /* repeat */
+ "(x=", /* repeat_ass */
+ "(.", /* concat */
+ "(.=", /* concat_ass */
+ "(~~", /* smart */
+ "(-X", /* ftest */
+ "(qr", /* regexp */
"DESTROY"
};