summaryrefslogtreecommitdiff
path: root/regen.pl
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-05-13 14:17:22 +0100
committerNicholas Clark <nick@ccl4.org>2011-06-11 10:12:17 +0200
commit8b09643d068d86543c3782211d4a527ee93fee77 (patch)
tree32056686eb6f479513c1c0d5c0a05fd94ec70674 /regen.pl
parent4de01b548a201d0dc90101ced2980c754fbf0e00 (diff)
downloadperl-8b09643d068d86543c3782211d4a527ee93fee77.tar.gz
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.
Diffstat (limited to 'regen.pl')
-rw-r--r--regen.pl1
1 files changed, 1 insertions, 0 deletions
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