Skip to content

Commit

Permalink
whoops, move this back where it was
Browse files Browse the repository at this point in the history
apparently utf8->SWASHNEW calls "require 'unicore/Heavy.pl'" too
  • Loading branch information
doy committed Sep 13, 2012
1 parent a8bd1c8 commit 650f067
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions utf8.c
Original file line number Diff line number Diff line change
Expand Up @@ -3033,16 +3033,16 @@ Perl__core_swash_init(pTHX_ const char* pkg, const char* name, SV *listsv, I32 m
ENTER;
SAVEHINTS();
save_re_context();
/* We might get here via a subroutine signature which uses a utf8
* parameter name, at which point PL_subname will have been set
* but not yet used. */
save_item(PL_subname);
if (PL_parser && PL_parser->error_count)
SAVEI8(PL_parser->error_count), PL_parser->error_count = 0;
method = gv_fetchmeth(stash, "SWASHNEW", 8, -1);
if (!method) { /* demand load utf8 */
ENTER;
errsv_save = newSVsv(ERRSV);
/* We might get here via a subroutine signature which uses a utf8
* parameter name, at which point PL_subname will have been set
* but not yet used. */
save_item(PL_subname);
/* It is assumed that callers of this routine are not passing in
* any user derived data. */
/* Need to do this after save_re_context() as it will set
Expand Down

0 comments on commit 650f067

Please sign in to comment.