[perl #50538] when( @n && %n ) fails to smart match
[p5sagit/p5-mst-13.2.git] / overload.pl
index a86222e..0c25cdf 100644 (file)
@@ -84,7 +84,7 @@ print C <<"EOT";
     $lastlen
 };
 
-char * const PL_AMG_names[NofAMmeth] = {
+const char * const PL_AMG_names[NofAMmeth] = {
   /* Names kept in the symbol table.  fallback => "()", the rest has
      "(" prepended.  The only other place in perl which knows about
      this convention is AMG_id2name (used for debugging output and