Skip to content

Commit

Permalink
regcomp.c - move comment to match code
Browse files Browse the repository at this point in the history
A sub was injected into the code in between the comment and
the sub the comment was about. Move the comment to line up with
the sub.
  • Loading branch information
demerphq committed Mar 13, 2024
1 parent 216a5aa commit 947a775
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions regcomp.c
Expand Up @@ -389,17 +389,9 @@ Perl_reginitcolors(pTHX)
#define CHECK_RESTUDY_GOTO_butfirst
#endif

/*
* pregcomp - compile a regular expression into internal code
*
* Decides which engine's compiler to call based on the hint currently in
* scope
*/

#ifndef PERL_IN_XSUB_RE

/* return the currently in-scope regex engine (or the default if none) */

regexp_engine const *
Perl_current_re_engine(pTHX)
{
Expand All @@ -426,6 +418,13 @@ Perl_current_re_engine(pTHX)
}


/*
* pregcomp - compile a regular expression into internal code
*
* Decides which engine's compiler to call based on the hint currently in
* scope
*/

REGEXP *
Perl_pregcomp(pTHX_ SV * const pattern, const U32 flags)
{
Expand Down

0 comments on commit 947a775

Please sign in to comment.