summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2015-07-18 21:24:47 +0300
committerJarkko Hietaniemi <jhi@iki.fi>2015-07-22 08:33:23 -0400
commitb992490dd5c64d667e649dd0ee35a658034d93c0 (patch)
tree96525524697e860d7d8f75d38062f10d1ecc9c19
parentbbef9e8971749a5008bb4cd805eff6a7e0c584b4 (diff)
downloadperl-b992490dd5c64d667e649dd0ee35a658034d93c0.tar.gz
inline_invlist.c -> invlist_inline.h
-rw-r--r--MANIFEST2
-rw-r--r--ext/re/Makefile.PL12
-rw-r--r--invlist_inline.h (renamed from inline_invlist.c)2
-rw-r--r--regcomp.c4
-rw-r--r--regexec.c2
-rw-r--r--utf8.c2
6 files changed, 12 insertions, 12 deletions
diff --git a/MANIFEST b/MANIFEST
index f4576ef5a3..77587c3f04 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -4107,7 +4107,6 @@ hv.c Hash value code
hv_func.h Hash value static inline function header
hv.h Hash value header
inline.h Static inline functions
-inline_invlist.c Inline functions for handling inversion lists
INSTALL Detailed installation instructions
installhtml Perl script to install html files for pods
install_lib.pl functions shared between install* scripts
@@ -4115,6 +4114,7 @@ installman Perl script to install man pages for pods
installperl Perl script to do "make install" dirty work
INTERN.h Included before domestic .h files
intrpvar.h Variables held in each interpreter instance
+invlist_inline.h Inline functions for handling inversion lists
iperlsys.h Perl's interface to the system
keywords.c Perl_keyword(), generated by regen/keywords.pl
keywords.h The keyword numbers
diff --git a/ext/re/Makefile.PL b/ext/re/Makefile.PL
index c6338c7ea2..bb00feb4b9 100644
--- a/ext/re/Makefile.PL
+++ b/ext/re/Makefile.PL
@@ -25,28 +25,28 @@ sub postamble {
my $regcomp_c = upupfile('regcomp.c');
my $regexec_c = upupfile('regexec.c');
my $dquote_static_c = upupfile('dquote_static.c');
- my $inline_invlist_c = upupfile('inline_invlist.c');
+ my $invlist_inline_h = upupfile('invlist_inline.h');
<<EOF;
re_comp.c : $regcomp_c
- \$(RM_F) re_comp.c
\$(CP) $regcomp_c re_comp.c
-re_comp\$(OBJ_EXT) : re_comp.c dquote_static.c inline_invlist.c
+re_comp\$(OBJ_EXT) : re_comp.c dquote_static.c invlist_inline_h
re_exec.c : $regexec_c
- \$(RM_F) re_exec.c
\$(CP) $regexec_c re_exec.c
-re_exec\$(OBJ_EXT) : re_exec.c inline_invlist.c
+re_exec\$(OBJ_EXT) : re_exec.c invlist_inline_h
dquote_static.c : $dquote_static_c
- \$(RM_F) dquote_static.c
\$(CP) $dquote_static_c dquote_static.c
-inline_invlist.c : $inline_invlist_c
- - \$(RM_F) inline_invlist.c
- \$(CP) $inline_invlist_c inline_invlist.c
+invlist_inline_h : $inline_invlist_c
+ - \$(RM_F) invlist_inline_h
+ \$(CP) $invlist_inline_h inline_invlist.c
EOF
}
diff --git a/inline_invlist.c b/invlist_inline.h
index 1589f9573f..4ce04f9087 100644
--- a/inline_invlist.c
+++ b/invlist_inline.h
@@ -1,4 +1,4 @@
-/* inline_invlist.c
+/* invlist_inline.h
*
* Copyright (C) 2012 by Larry Wall and others
*
diff --git a/regcomp.c b/regcomp.c
index 3e6ac62695..411e3c7723 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -87,7 +87,7 @@ EXTERN_C const struct regexp_engine my_reg_engine;
#endif
#include "dquote_static.c"
-#include "inline_invlist.c"
+#include "invlist_inline.h"
#include "unicode_constants.h"
#define HAS_NONLATIN1_FOLD_CLOSURE(i) \
@@ -7981,7 +7981,7 @@ S_reg_scan_name(pTHX_ RExC_state_t *pRExC_state, U32 flags)
* Some of the methods should always be private to the implementation, and some
* should eventually be made public */
-/* The header definitions are in F<inline_invlist.c> */
+/* The header definitions are in F<invlist_inline.h> */
PERL_STATIC_INLINE UV*
S__invlist_array_init(SV* const invlist, const bool will_have_0)
diff --git a/regexec.c b/regexec.c
index 3455498ee1..ec4ed861ab 100644
--- a/regexec.c
+++ b/regexec.c
@@ -83,7 +83,7 @@
# include "regcomp.h"
#endif
-#include "inline_invlist.c"
+#include "invlist_inline.h"
#include "unicode_constants.h"
#ifdef DEBUGGING
diff --git a/utf8.c b/utf8.c
index 360e1f5465..cbff7a7888 100644
--- a/utf8.c
+++ b/utf8.c
@@ -31,7 +31,7 @@
#include "EXTERN.h"
#define PERL_IN_UTF8_C
#include "perl.h"
-#include "inline_invlist.c"
+#include "invlist_inline.h"
static const char unees[] =
"Malformed UTF-8 character (unexpected end of string)";