3 hours ago[perl #128701] Fix err msg for Unicode delimiters blead
Father Chrysostomos [Tue, 26 Jul 2016 08:46:23 +0000]
[perl #128701] Fix err msg for Unicode delimiters

The output of

    perl -CS -e 'use utf8; q«'

is now correctly:

    Can't find string terminator "«" anywhere before EOF at -e line 1.

Previously, the first byte of the delimiter (as encoded in UTF-8)
would be used instead:

    Can't find string terminator "Â" anywhere before EOF at -e line 1.

3 hours agoparser.h: Use UV for string delims
Father Chrysostomos [Tue, 26 Jul 2016 07:47:16 +0000]
parser.h: Use UV for string delims

We will need to store characters > 255 in here.

Also, cast accordingly in toke.c.

6 hours ago(perl #127384)(CVE-2016-1238) port forward changes from maint
Tony Cook [Tue, 26 Jul 2016 06:15:33 +0000]
(perl #127384)(CVE-2016-1238) port forward changes from maint

Some of these changes are unnecessary if we remove the default . from
@INC for 5.26.

6 hours ago(perl #127834) update CUSTOMIZED entries
Tony Cook [Tue, 26 Jul 2016 05:36:15 +0000]
(perl #127834) update CUSTOMIZED entries

6 hours agocpan/: bump $VERSION as needed
Tony Cook [Tue, 26 Jul 2016 05:21:25 +0000]
cpan/: bump $VERSION as needed

6 hours agocpan/: remove . from @INC when loading optional modules
Tony Cook [Mon, 27 Jun 2016 06:21:21 +0000]
cpan/: remove . from @INC when loading optional modules

6 hours agodist/: bump $VERSION as needed
Tony Cook [Tue, 26 Jul 2016 01:49:33 +0000]
dist/: bump $VERSION as needed

6 hours agodist/: remove . from @INC when loading optional modules
Tony Cook [Thu, 23 Jun 2016 04:06:40 +0000]
dist/: remove . from @INC when loading optional modules

I didn't update base.pm since that seems more likely to be loading
modules *expected* to be in the current directory.  Opinions

6 hours agobump perl5db.pl's $VERSION
Tony Cook [Tue, 26 Jul 2016 01:37:34 +0000]
bump perl5db.pl's $VERSION

Add a note about version numbering, since if we use X.XX_XX versions
in blead it's harder to find an unused version number if the module
is modified in maint.

6 hours agoperl5db.pl: ensure PadWalker is loaded from standard paths
Tony Cook [Thu, 23 Jun 2016 00:41:48 +0000]
perl5db.pl: ensure PadWalker is loaded from standard paths

6 hours ago(perl #127834) bump versions of modules in dists we updated a utility in
Tony Cook [Tue, 26 Jul 2016 01:32:28 +0000]
(perl #127834) bump versions of modules in dists we updated a utility in

I tried to follow the numbering convention of the module,
bumping every module if the versions are synchronized, bumping
just the primary module if not.

6 hours ago(perl #127834) remove . from the end of @INC if complex modules are loaded
Tony Cook [Tue, 21 Jun 2016 00:02:02 +0000]
(perl #127834) remove . from the end of @INC if complex modules are loaded

While currently Encode and Storable are know to attempt to load modules
not included in the core, updates to other modules may lead to those
also attempting to load new modules, so be safe and remove . for those
as well.

6 hours agodecl-refs.t: I also forgot foreach
Father Chrysostomos [Tue, 26 Jul 2016 05:30:17 +0000]
decl-refs.t: I also forgot foreach

7 hours agodecl-refs.t: I forgot to test \@ and \%
Father Chrysostomos [Tue, 26 Jul 2016 05:15:24 +0000]
decl-refs.t: I forgot to test \@ and \%

7 hours agoupgrade Module-Metadata to 1.000033
Karen Etheridge [Mon, 25 Jul 2016 18:57:06 +0000]
upgrade Module-Metadata to 1.000033

22 hours agoAdd epigraphs for 5.22.3-RC2 and 5.24.1-RC2
Steve Hay [Mon, 25 Jul 2016 13:31:37 +0000]
Add epigraphs for 5.22.3-RC2 and 5.24.1-RC2

25 hours ago5.22.3-RC2 and 5.24.1-RC2 today
Steve Hay [Mon, 25 Jul 2016 10:26:07 +0000]
5.22.3-RC2 and 5.24.1-RC2 today

36 hours agoUse tabs consistently in AUTHORS
Father Chrysostomos [Tue, 19 Jul 2016 06:04:46 +0000]
Use tabs consistently in AUTHORS

Mixed tabs and spaces are tolerable in code, but they should not
be used in human-readable text files.

36 hours agoAdd Chris R. Donnelly to AUTHORS
Father Chrysostomos [Tue, 19 Jul 2016 06:03:48 +0000]
Add Chris R. Donnelly to AUTHORS

See commit 2f7a15bf0111, which failed to include this.

3 days agoS_pop_eval_context_maybe_croak: silence warning
David Mitchell [Fri, 22 Jul 2016 22:21:49 +0000]
S_pop_eval_context_maybe_croak: silence warning

g++ is too dumb to notice that in

    SV *s;

    if (foo)
        s = ...;
    if (foo)
        ...do something with s...;

s can't be used uninitialised.

3 days agofix g++ compiler warning
David Mitchell [Fri, 22 Jul 2016 22:17:15 +0000]
fix g++ compiler warning

toke.c:4698:36: warning: enumeral and non-enumeral type in conditional expression [-Wextra]
      return REPORT(dojoin_was == 1 ? ')' : POSTJOIN);

I have no idea why mixing enums and non-emums is bad in C++. This commit
just casts the hell out the expression to shut it up.

4 days agoPATCH: [perl 128686] regex compiler crashes
Karl Williamson [Thu, 21 Jul 2016 15:58:21 +0000]
PATCH: [perl 128686] regex compiler crashes

This was due to freeing a scalar before its final use

4 days agoSwitch the order of the two backtracking chapters in perlre
Rafael Garcia-Suarez [Thu, 21 Jul 2016 13:37:25 +0000]
Switch the order of the two backtracking chapters in perlre

It makes more sense to explain what backtracking is first, and
then introduce the special backtracking control verbs.

This is just chapter swapping, no other edit has been done.
In other words this diff is basically:

    +=head2 Backtracking
     =head2 Special Backtracking Control Verbs
    -=head2 Backtracking
     =head2 Version 8 Regular Expressions

5 days agoregcomp.c: Silence compiler warning
Karl Williamson [Wed, 20 Jul 2016 07:43:47 +0000]
regcomp.c: Silence compiler warning

These functions are no longer needed in re_comp.c

5 days agoPrepare Module-CoreList for 5.25.4
Steve Hay [Wed, 20 Jul 2016 16:59:02 +0000]
Prepare Module-CoreList for 5.25.4

5 days agoBump version to 5.25.4
Steve Hay [Wed, 20 Jul 2016 16:52:57 +0000]
Bump version to 5.25.4

(including regen/opcode.pl)

5 days agoCreate new perldelta for 5.25.4
Steve Hay [Wed, 20 Jul 2016 16:46:48 +0000]
Create new perldelta for 5.25.4

5 days ago5.25.3 is released
Steve Hay [Wed, 20 Jul 2016 16:39:23 +0000]
5.25.3 is released

5 days agoAdd epigraph for 5.25.3
Steve Hay [Wed, 20 Jul 2016 16:38:35 +0000]
Add epigraph for 5.25.3

5 days ago5.25.3 today v5.25.3
Steve Hay [Wed, 20 Jul 2016 14:27:02 +0000]
5.25.3 today

5 days agoFinalize perldelta
Steve Hay [Wed, 20 Jul 2016 14:25:00 +0000]
Finalize perldelta

5 days agoUpdate Module-CoreList for 5.25.3
Steve Hay [Wed, 20 Jul 2016 14:20:41 +0000]
Update Module-CoreList for 5.25.3

5 days agoperldelta - Fill in Selected Bug Fixes etc
Steve Hay [Wed, 20 Jul 2016 14:15:06 +0000]
perldelta - Fill in Selected Bug Fixes etc

5 days agoFix typo in perldelta
Steve Hay [Wed, 20 Jul 2016 12:50:37 +0000]
Fix typo in perldelta

5 days agoperldelta - Fill in Modules and Pragmata
Steve Hay [Wed, 20 Jul 2016 12:43:21 +0000]
perldelta - Fill in Modules and Pragmata

5 days agoperldelta - Fill in rt.perl.org links
Steve Hay [Wed, 20 Jul 2016 12:33:07 +0000]
perldelta - Fill in rt.perl.org links

5 days agoperldelta - Fill in Testing
Steve Hay [Wed, 20 Jul 2016 12:24:10 +0000]
perldelta - Fill in Testing

5 days agoperldelta - Fill in Documentation
Steve Hay [Wed, 20 Jul 2016 12:21:54 +0000]
perldelta - Fill in Documentation

6 days agoperldelta - Fill in New Diagnostics
Steve Hay [Wed, 20 Jul 2016 12:01:07 +0000]
perldelta - Fill in New Diagnostics

6 days agoperldelta - Wrapping/formatting
Steve Hay [Wed, 20 Jul 2016 11:52:59 +0000]
perldelta - Wrapping/formatting

6 days agoperldelta - Fill in "fixed in" versions for Errata items
Steve Hay [Wed, 20 Jul 2016 11:39:57 +0000]
perldelta - Fill in "fixed in" versions for Errata items

(The perl #126182 problem was reported with 5.23.4, so certainly wasn't
*broken* in 5.24.0 as the note originally said. It was in fact *fixed* in
that version (actually, 5.23.9) by a series of commits in early March.)

6 days agoperldelta - Remove most boilerplate
Steve Hay [Wed, 20 Jul 2016 11:36:34 +0000]
perldelta - Remove most boilerplate

This moves one item ("scalar(%hash) return signature changed") from
Performance Enhancements to Incompatible Changes, where I think it is more
apt (although it does also involve a small performance enhancement).

6 days agoModule-Metadata has another customized test script
Steve Hay [Wed, 20 Jul 2016 11:08:48 +0000]
Module-Metadata has another customized test script

6 days agoEncode has some customized test scripts
Steve Hay [Wed, 20 Jul 2016 11:05:19 +0000]
Encode has some customized test scripts

6 days agoUpgrade Test-Simple from version 1.302040 to 1.302045
Steve Hay [Wed, 20 Jul 2016 10:55:16 +0000]
Upgrade Test-Simple from version 1.302040 to 1.302045

6 days agoUpgrade libnet from version 3.08 to 3.09
Steve Hay [Wed, 20 Jul 2016 10:49:22 +0000]
Upgrade libnet from version 3.08 to 3.09

6 days agorename "WORD" lexical token to "BAREWORD"
David Mitchell [Mon, 18 Jul 2016 10:57:19 +0000]
rename "WORD" lexical token to "BAREWORD"

The enum value "WORD" can apparently clash with a enum value in windows
headers.  It used to be worked around in windows by #defining YYTOKENTYPE,
which caused the

    enum yytokentype {
        WORD = ...;

in perly.h to be skipped, while still using the

    #define WORD ...

which appears later in the same file.

In bison 3.x, the auto-generated perl.h no longer includes the #defines,
so this workaround no longer works.

Instead, change the name of the token from "WORD" to "BAREWORD".

6 days ago(perl #128524) correct indentation for utf-8 key hash elements
Tony Cook [Wed, 20 Jul 2016 04:10:44 +0000]
(perl #128524) correct indentation for utf-8 key hash elements

For utf-8 flagged keys the indentation was left as the default, the
key length, and was not updated to the adjusted length after
escaping and quoting.

The test originally used a pre-rendered dump, but potentially other
minor changes to the output would break that, now it simply compares
against the output of the first case.

7 days agolib/locale.t: Fix tests, add a test
Karl Williamson [Tue, 19 Jul 2016 00:49:40 +0000]
lib/locale.t: Fix tests, add a test

The tests assumed that the lowest collating non-NUL control was \001.
This isn't necessarily true, and in a few locales caused the test to

7 days agolocale.c: Add some debugging statements
Karl Williamson [Tue, 24 May 2016 17:41:32 +0000]
locale.c: Add some debugging statements

7 days agoperlop: clarify that entries aren't in prec order
David Mitchell [Mon, 18 Jul 2016 14:04:16 +0000]
perlop: clarify that entries aren't in prec order

RT #127921

The phrasing may have given the impression that the =head2 for each
operator was at a lower precedence than the previous =head2. Disabuse
people of that notion.

8 days agoUpgrade Math-BigInt from version 1.999724 to 1.999726
Steve Hay [Mon, 18 Jul 2016 07:38:24 +0000]
Upgrade Math-BigInt from version 1.999724 to 1.999726

8 days agoAdd epigraphs for 5.22.3-RC1 and 5.24.1-RC1
Steve Hay [Mon, 18 Jul 2016 07:22:15 +0000]
Add epigraphs for 5.22.3-RC1 and 5.24.1-RC1

8 days agoFix failing uninit test on 64-bit-int builds
Father Chrysostomos [Sun, 17 Jul 2016 21:14:53 +0000]
Fix failing uninit test on 64-bit-int builds

On 32-bit builds with 64-bit ints, pack "q" works, but pointers and
array subscripts are still 32-bit numbers, so the test will fail.
Actually check the pointers size via pack "p".

8 days agoperldelta for 6fe925b92 / my\
Father Chrysostomos [Sun, 17 Jul 2016 20:06:52 +0000]
perldelta for 6fe925b92 / my\

8 days agoperlref: Wrap pod
Father Chrysostomos [Sun, 17 Jul 2016 20:04:26 +0000]
perlref: Wrap pod

8 days agoNote in perlvar that ${^ENCODING} is removed
Father Chrysostomos [Sun, 17 Jul 2016 19:55:49 +0000]
Note in perlvar that ${^ENCODING} is removed

8 days agoAdd Filter::Encoding to the known links
Father Chrysostomos [Sun, 17 Jul 2016 19:55:17 +0000]
Add Filter::Encoding to the known links

I guess I must be famous now.

8 days agoperldelta for a9cb10c37 (${^ENCODING} removal)
Father Chrysostomos [Sun, 17 Jul 2016 19:51:43 +0000]
perldelta for a9cb10c37 (${^ENCODING} removal)

8 days agoperldelta for a2637ca0a / #128597
Father Chrysostomos [Sun, 17 Jul 2016 19:42:05 +0000]
perldelta for a2637ca0a / #128597

8 days agoperldelta for 63aab7e / #128532
Father Chrysostomos [Sun, 17 Jul 2016 19:39:18 +0000]
perldelta for 63aab7e / #128532

8 days agoperldelta for 08e3451 and a651dcdf6
Father Chrysostomos [Sun, 17 Jul 2016 19:27:20 +0000]
perldelta for 08e3451 and a651dcdf6

8 days agoperldelta for #128508 / b3dd0aba3
Father Chrysostomos [Sun, 17 Jul 2016 19:24:30 +0000]
perldelta for #128508 / b3dd0aba3

8 days agoperldelta for #128478 / d9d2b74c
Father Chrysostomos [Sun, 17 Jul 2016 19:22:59 +0000]
perldelta for #128478 / d9d2b74c

8 days agoperldelta for #128238
Father Chrysostomos [Sun, 17 Jul 2016 19:20:48 +0000]
perldelta for #128238

e7acdfe only treat stash entries with .*:: as sub-stashes
9e5cda6 [perl #128238] Crash with non-stash in stash

8 days agobump feature.pm $VERSION
David Mitchell [Sun, 17 Jul 2016 19:25:51 +0000]
bump feature.pm $VERSION

8 days agofix build on clang plus -DPERL_GLOBAL_STRUCT
David Mitchell [Sun, 17 Jul 2016 19:13:08 +0000]
fix build on clang plus -DPERL_GLOBAL_STRUCT

The various PERL_TSA_* macros that utilise clang Thread Safety Analysis
builds, due to lines like these:


where under DPERL_GLOBAL_STRUCT globals vars aren't really global,
so you can't pass PL_op_mutex as an arg to that function attribute.

The simplest fix (since you can't just bung a dVAR in there) is to just
disable TSA on PERL_GLOBAL_STRUCT builds.

8 days agoVAX: one more VAX fp doc tweakage
Jarkko Hietaniemi [Sun, 17 Jul 2016 19:00:34 +0000]
VAX: one more VAX fp doc tweakage

Frankly quite amazing how many times one can read one's
own writing and miss things.

8 days ago[Merge] declared_refs feature allowing my\$x
Father Chrysostomos [Sun, 17 Jul 2016 18:27:32 +0000]
[Merge] declared_refs feature allowing my\$x

8 days agodecl_refs.t: Finish adding tests for declared_refs
Father Chrysostomos [Sat, 16 Jul 2016 06:48:03 +0000]
decl_refs.t: Finish adding tests for declared_refs

8 days agoTests for declared_refs err/warn messages
Father Chrysostomos [Mon, 30 May 2016 03:11:08 +0000]
Tests for declared_refs err/warn messages

8 days agoperldiag entries for declared_refs
Father Chrysostomos [Sun, 29 May 2016 23:02:53 +0000]
perldiag entries for declared_refs

8 days agoClearer declared_refs warning msg
Father Chrysostomos [Sun, 29 May 2016 21:32:11 +0000]
Clearer declared_refs warning msg

8 days agoUpdate docs for declared_refs
Father Chrysostomos [Sun, 29 May 2016 21:29:28 +0000]
Update docs for declared_refs

8 days agoMake my\ experimental
Father Chrysostomos [Mon, 23 May 2016 06:45:45 +0000]
Make my\ experimental

8 days agoAdd declared_refs feature feature
Father Chrysostomos [Mon, 23 May 2016 06:40:27 +0000]
Add declared_refs feature feature

8 days agoAdd experimental::declared_refs warn categ
Father Chrysostomos [Mon, 23 May 2016 06:39:44 +0000]
Add experimental::declared_refs warn categ

8 days agoAllow my \$a
Father Chrysostomos [Sat, 21 May 2016 05:28:31 +0000]
Allow my \$a

This applies to ‘my’, ‘our’, ‘state’ and ‘local’, and both to single
variable and lists of variables, in all their variations:

my \$a        # equivalent to \my $a
my \($a,$b)   # equivalent to \my($a, $b)
my (\($a,$b)) # same
my (\$a, $b)  # equivalent to (\my $a, $b)

8 days agoregcomp.c: Silence compiler warning
Karl Williamson [Sun, 17 Jul 2016 03:36:40 +0000]
regcomp.c: Silence compiler warning

It turns out that the changes in
0854ea0b9abfd9ff71c9dca1b5a5765dad2a20bd caused two functions to no
longer be used in re_comp.c

8 days ago5.22.3-RC1 and 5.24.1-RC1 today
Steve Hay [Sun, 17 Jul 2016 12:21:29 +0000]
5.22.3-RC1 and 5.24.1-RC1 today

9 days agoVAX: further docs about the VAX fp formats
Jarkko Hietaniemi [Sun, 17 Jul 2016 11:58:19 +0000]
VAX: further docs about the VAX fp formats

9 days agoVAX: perl.h: document the VAX fp better/more
Jarkko Hietaniemi [Sun, 17 Jul 2016 07:53:27 +0000]
VAX: perl.h: document the VAX fp better/more

9 days agoVAX: Configure: the VAX fp not really little-endian
Jarkko Hietaniemi [Sun, 17 Jul 2016 07:48:12 +0000]
VAX: Configure: the VAX fp not really little-endian

9 days agoPATCH: [perl #128170] Assert fail in regcomp.c
Karl Williamson [Sun, 17 Jul 2016 03:48:02 +0000]
PATCH: [perl #128170] Assert fail in regcomp.c

This fixes a regression in 5.24, bisected to commit

commit cfbef7dc3bfb89e4ed2c00ea9c9e3bcfd0b170fd
Author: Karl Williamson <khw@cpan.org>
Date:   Wed Feb 10 16:27:13 2016 -0700

regcomp.c: Fix some parsing glitches

9 days agoMerge regcomp changes branch into blead
Karl Williamson [Sat, 16 Jul 2016 23:43:19 +0000]
Merge regcomp changes branch into blead

This branch reimplements a function, adds a test file, improves the -Dr
display of bracketed character classes in compiled patterns, fixing a
regression in 5.24 of that display, and finds another optimization in /d
bracketed character classes.

9 days agoregcomp.c: Change some append_range_to_invlist() calls
Karl Williamson [Wed, 6 Jul 2016 01:32:19 +0000]
regcomp.c: Change some append_range_to_invlist() calls

Now that add_range_to_invlist() is more efficient, some current calls to
append_range_to_invlist() can be changed to make things slightly

9 days agoregcomp.c: Reimplement add_range_to_invlist()
Karl Williamson [Mon, 27 Jun 2016 23:11:35 +0000]
regcomp.c: Reimplement add_range_to_invlist()

Previously, this function was essentially implemented by turning the new
range into an inversion list and then unioning that with the existing
inversion list.  This was easy to write, but expensive in terms of
operations, with memory allocations and copies, etc.

After discussing this with Tony Cook, I have reimplemented this.  Only
in one uncommonly encountered case does it resort to using the union,
because that case is somewhat tricky, and there is no need to have to
know that trickiness in yet another place given its rarity.

Otherwise, the function manipulates the inversion list.  Some cases are
no-ops, some just change a single array element, some move things within
the array, extending or splicing it.  But these are cheaper than the
previous implementation.

9 days agot/re/anyof.t: add tests for ranges
Karl Williamson [Wed, 13 Jul 2016 21:50:32 +0000]
t/re/anyof.t: add tests for ranges

These exercise the code changes that are coming the next commit, and are
to show that it doesn't change what gets compiled.

9 days agoregcomp.c: Refactor code dealing with m/[...]/d
Karl Williamson [Wed, 13 Jul 2016 03:15:07 +0000]
regcomp.c: Refactor code dealing with m/[...]/d

This consolidates some code that deals with bracketed character classes
under /d.  As a result, some throw-away steps can be omitted, and things
aren't scattered about.  The earlier version skipped doing some things
if the class is to be inverted.  The reason turns out to not be because
it was necessary, but that the dump of the compiled pattern was unclear.
Previous commits have fixed that, so this now handles inverted character

9 days agoregcomp.c: Improve -Dr output
Karl Williamson [Sat, 16 Jul 2016 04:06:49 +0000]
regcomp.c: Improve -Dr output

This improves the output of a bracketed character class under /d that has
things that match only if not in utf8.

9 days agot/re/pat.t: Add some tests
Karl Williamson [Sat, 16 Jul 2016 04:05:25 +0000]
t/re/pat.t: Add some tests

I'm unsure if these, [^\S ], get adequate tests, so added a few to make
sure, where the bracket class should compile to a posix class minus a
character normally in that class.

9 days agoregcomp.[ch]: Comments, White-space, only
Karl Williamson [Wed, 6 Jul 2016 01:41:30 +0000]
regcomp.[ch]: Comments, White-space, only

This indents code and reflows the comments to account for the enclosing
block added by the previous commit.

At the same time, it adds some other miscellaneous white space changes,
and adds, revises other comments.

9 days agoregcomp.c: Improve -Dr output
Karl Williamson [Wed, 6 Jul 2016 01:37:46 +0000]
regcomp.c: Improve -Dr output

Previously when dumping the compiled ANYOF node under -Dr, it could say
something like \x1B-\x1B.  A single element range should be dumped as a
single element.

9 days agoanyof.t: Add tests for previous commit
Karl Williamson [Tue, 12 Jul 2016 03:40:13 +0000]
anyof.t: Add tests for previous commit

The tests are being kept separate in case we want to put the previous
commit into a maintenance release.  The tests need infrastructure added
since the release of 5.24, so can't easily be backported.

9 days agoFix -Dr output regression
Karl Williamson [Wed, 6 Jul 2016 17:52:01 +0000]
Fix -Dr output regression

Several commits in the 5.23 series improved the display of the compiled
ANYOF regnodes, but introduced two bugs.  One of them is in \p{Any} and
similar things that match the entire range 0-255.  That range is omitted,
so it looks like \p{Any} only matches code points above 255.  Note that
this is only what gets displayed under -Dr.  What actually gets compiled
has been and still is fine.

The other is that when displaying a pattern that still has unresolved
user-defined properties that are complemented, it doesn't show properly
that the whole thing is complemented.  That is, the output looks like it
doesn't obey De Morgan's laws.

The fixes to these are quite intertwined, and so I didn't try to
separate them.

9 days agoAdd t/re/anyof.t
Karl Williamson [Mon, 11 Jul 2016 17:54:56 +0000]
Add t/re/anyof.t

The ANYOF regnode is by far the most complicated to compile in regular
expression patterns.  This new test file makes sure that what gets
compiled doesn't get changed accidentally, nor how the compiled node is
dumped for human readable output.

I created tests for this from what changed in
"Revamp -Dr handling of /[...]/", and from trying to exercise all
branches in it using gcov.

Making this test file showed some bugs, and infelicitous representations
from that commit, which will be fixed in the next few commits, and tests
added as each change is done.

9 days agot/test.pl: Add fresh_perl() function
Karl Williamson [Mon, 11 Jul 2016 04:06:12 +0000]
t/test.pl: Add fresh_perl() function

This will be useful for cases where the results don't readily fall into
fresh_perl_is and fresh_perl_like, such as when a bunch of massaging of
the results is needed before it is convenient to test them.
fresh_perl_like() could be used, but in the case of failure there could
be lines and lines of noise output.

9 days agoSSize_t instead of IV
Karl Williamson [Wed, 6 Jul 2016 01:23:59 +0000]
SSize_t instead of IV

This is a sized STRLEN equivalent, so IV is less correct

9 days agoregcomp.h: Use #define mnemonic, not hard-coded number
Karl Williamson [Wed, 6 Jul 2016 01:17:18 +0000]
regcomp.h: Use #define mnemonic, not hard-coded number

9 days agoGet regen to work before 5.10
Father Chrysostomos [Sat, 16 Jul 2016 08:08:20 +0000]
Get regen to work before 5.10

Since it uses the system perl, it’s useful to keep it working with
earlier versions.