summaryrefslogtreecommitdiff
path: root/regen.pl
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2022-10-31 12:22:19 +0100
committerYves Orton <demerphq@gmail.com>2022-11-01 11:57:31 +0100
commit4bd3be3563698eb6e927a62c29755b216b926a27 (patch)
tree81cd1ee7b48249763b06f151586430e5644f6700 /regen.pl
parent721bab593870c27a22ad9e917c5d3624f4a3468e (diff)
downloadperl-4bd3be3563698eb6e927a62c29755b216b926a27.tar.gz
regen/scope_types.pl - add tool to manage the scope type defines
In scope.c and scope.h there are various defines that must be coordinated with the contents of an array, and comments and ids which might have to be mass changed manually in some circumstances. As this is error prone this patch adds a new regen script to ensure it is kept in sync and to make the process of adding new types trivial. The data that drives the script is kept in the scripts __DATA__ section.
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 71a6eda60a..525779326b 100644
--- a/regen.pl
+++ b/regen.pl
@@ -30,3 +30,4 @@ regcomp.pl
warnings.pl
embed.pl
feature.pl
+scope_types.pl