Skip to content

Commit ad9dfdb

Browse files
committed
util.c: Reorder two functions
This will make some future commits a little less noisy
1 parent 81065b6 commit ad9dfdb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

util.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -572,20 +572,20 @@ S_delimcpy_intern(char *to, const char *toend, const char *from,
572572
}
573573

574574
char *
575-
Perl_delimcpy(char *to, const char *toend, const char *from, const char *fromend, int delim, I32 *retlen)
575+
Perl_delimcpy_no_escape(char *to, const char *toend, const char *from,
576+
const char *fromend, int delim, I32 *retlen)
576577
{
577-
PERL_ARGS_ASSERT_DELIMCPY;
578+
PERL_ARGS_ASSERT_DELIMCPY_NO_ESCAPE;
578579

579-
return S_delimcpy_intern(to, toend, from, fromend, delim, retlen, 1);
580+
return S_delimcpy_intern(to, toend, from, fromend, delim, retlen, 0);
580581
}
581582

582583
char *
583-
Perl_delimcpy_no_escape(char *to, const char *toend, const char *from,
584-
const char *fromend, int delim, I32 *retlen)
584+
Perl_delimcpy(char *to, const char *toend, const char *from, const char *fromend, int delim, I32 *retlen)
585585
{
586-
PERL_ARGS_ASSERT_DELIMCPY_NO_ESCAPE;
586+
PERL_ARGS_ASSERT_DELIMCPY;
587587

588-
return S_delimcpy_intern(to, toend, from, fromend, delim, retlen, 0);
588+
return S_delimcpy_intern(to, toend, from, fromend, delim, retlen, 1);
589589
}
590590

591591
/*

0 commit comments

Comments
 (0)