From 8b09643d068d86543c3782211d4a527ee93fee77 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Fri, 13 May 2011 14:17:22 +0100 Subject: Generate the definitions for magic vtables from data in a regen script. Previously perl.h contained a long section of MGVTBL_SET() macros declaring the core's various magic vtables. Convert the information into data structures in a new script regen/mg_table.pl, and use this to generate a new file mg_vtable.h, included by perl.h This is the first step in reducing the number of places that data relating to magic vtables is declared (and has to be kept in sync), and will allow more flexibility in parts of the core's implementation. --- regen.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'regen.pl') diff --git a/regen.pl b/regen.pl index 14ef1475c8..1f2a583ed0 100644 --- a/regen.pl +++ b/regen.pl @@ -16,6 +16,7 @@ use strict; # Which scripts to run. my @scripts = qw( +mg_vtable.pl opcode.pl overload.pl reentr.pl -- cgit v1.2.1