diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-08-25 08:58:42 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-08-25 23:21:29 -0600 |
commit | 5d3d13d10da5429b4c98a44ea398eb3cfb8c457b (patch) | |
tree | 3bfb087559d3d4550910610254f8cda2fb4397eb /regcomp.c | |
parent | ab20d70a9a23debea96660523e287da51405d7de (diff) | |
download | perl-5d3d13d10da5429b4c98a44ea398eb3cfb8c457b.tar.gz |
utf8.c: collapse a function parameter
Now that we have a flags parameter, we can get put this parameter as
just another flag, giving a cleaner interface to this internal-only
function. This also renames the flag parameter to <flag_p> to indicate
it needs to be dereferenced.
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -11541,7 +11541,9 @@ parseit: case 'P': { char *e; - U8 swash_init_flags = 0; + + /* This routine will handle any undefined properties */ + U8 swash_init_flags = _CORE_SWASH_INIT_RETURN_IF_UNDEF; if (RExC_parse >= RExC_end) vFAIL2("Empty \\%c{}", (U8)value); @@ -11597,8 +11599,6 @@ parseit: swash = _core_swash_init("utf8", name, &PL_sv_undef, 1, /* binary */ 0, /* not tr/// */ - TRUE, /* this routine will handle - undefined properties */ NULL, /* No inversion list */ &swash_init_flags ); |