#!/usr/bin/perl -w
+#
+# Regenerate (overwriting only if changed):
+#
+# embed.h
+# embedvar.h
+# global.sym
+# perlapi.c
+# perlapi.h
+# proto.h
+#
+# from information stored in
+#
+# embed.fnc
+# intrpvar.h
+# perlvars.h
+# pp.sym (which has been generated by opcode.pl)
+#
+# plus from the values hardcoded into this script in @extvars.
+#
+# Accepts the standard regen_lib -q and -v args.
+#
+# This script is normally invoked from regen.pl.
require 5.003; # keep this compatible, an old perl is all we may have before
# we build the new one
if ( $flags =~ /r/ ) {
push @attrs, "__attribute__noreturn__";
}
+ if ( $flags =~ /D/ ) {
+ push @attrs, "__attribute__deprecated__";
+ }
if ( $is_malloc ) {
push @attrs, "__attribute__malloc__";
}