| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
Use $cpp instead of cpp
|
|
|
|
| |
syntax triggered by keywords
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Date: Tue, 27 Oct 2009 01:29:40 +0000
From: Zefram <zefram@fysh.org>
To: perl5-porters@perl.org
Subject: bareword sub lookups
Attached is a patch that changes how the tokeniser looks up subroutines,
when they're referenced by a bareword, for prototype and const-sub
purposes. Formerly, it has looked up bareword subs directly in the
package, which is contrary to the way the generated op tree looks up
the sub, via an rv2cv op. The patch makes the tokeniser generate the
rv2cv op earlier, and dig around in that.
The motivation for this is to allow modules to hook the rv2cv op
creation, to affect the name->subroutine lookup process. Currently,
such hooking affects op execution as intended, but everything goes wrong
with a bareword ref where the tokeniser looks at some unrelated CV,
or a blank space, in the package. With the patch in place, an rv2cv
hook correctly affects the tokeniser and therefore the prototype-based
aspects of parsing.
The patch also changes ck_subr (which applies the argument context and
checking parts of prototype behaviour) to handle subs referenced by an
RV const op inside the rv2cv, where formerly it would only handle a gv
op inside the rv2cv. This is to support the most likely kind of modified
rv2cv op.
[This commit includes the Makefile.PL for XS-APITest-KeywordRPN missing
from the original patch, as well as updates to perldiag.pod and a
MANIFEST sort]
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
An accident of Perl's parser meant that my $pi := 4; was parsed as an empty
attribute list. Empty attribute lists are ignored, hence the above is
equivalent to my $pi = 4; However, the fact that it is currently valid syntax
means that := cannot be used as new token, without silently changing the
meaning of existing code.
Hence it is now deprecated, so that it can subsequently be removed, allowing
the possibility of := to be used as a new token with new semantics.
|
|
|
|
|
|
| |
Don't let sv_setsv swipe temps in av_make, since the source array
might have multiple references to the same temp scalar (e.g. from
a list slice).
|
|
|
|
|
|
|
|
| |
Here’s a patch to include the bug number in the test script.
And 68971 can be resolved, too. Sorry for the duplicate!
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
|
| |
|
| |
|
|
|
|
|
|
| |
regcomp.c stopped using it before 5.10, leaving only toke.c. The only code on
CPAN that uses it is copies of regcomp.c. Replace it with a static function,
with a cleaner interface.
|
|
|
|
|
|
| |
- Fix test for error message
- Add negative test cases
- Remove unneeded evals
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
If this is defined, it will be called instead of stringification
whenever an object is used as a regexp or interpolated into a regexp.
This will fall back to stringification even without C<fallback => 1>,
for compatibility.
An overloaded 'qr' must return either a REGEXP or a ref to a REGEXP
(such as created by qr//). Any further overloading on the return value
will be ignored.
|
| |
|
| |
|
|
|
|
|
|
| |
inside a return"
This reverts commit 60aa6a1aa894dd62b8194841a6d6c80c15079dba.
|
| |
|
|
|
|
|
|
| |
quantified groups)
This patch was modified to work with the updated file locations.
|
|
|
|
| |
a bug with Readonly::XS that might actually be a guts bug.)
|
|
|
|
| |
Updated plan count missing in the original patch.
|
|
|
|
| |
level jumplevel
|
|
|
|
|
|
|
|
|
| |
The patch to speed up split in scalar context broke Font::GlyphNames,
because it stops scalar(@array = split) from working. The attached
patch fixes this, and ineluctably slows it down slightly.
(Patch amended by replacing the 2nd GIMME_V macro call by the gimme
variable)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
perlrepository instead.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
0.27 - Thu Oct 29 21:29:56 EDT 2009
Other:
- Removed Build.PL to avoid creating a circular dependency
- Added version numbers to Windows compiler driver modules
0.26_05 - Sun Oct 25 17:29:02 EDT 2009
Bugs fixed:
- Fixed t/02link.t failures on cygwin with Perl 5.8 [David Golden]
Other:
- Made have_compiler (and have_cplusplus) quiet without echoing
the test command to STDOUT [David Golden]
0.26_04 - Mon Oct 19 21:57:46 EDT 2009
Enhancements:
- Added 'have_cplusplus()' method to check for C++ support
- Added patches for building Perl with mingw64 [Sisyphus]
- Allow CC environment variable to override $Config{cc}
Bugs fixed:
- Fixed link executable command for Win32 MSVC (RT#40819) [Cosimo
Streppone]
- Removed MSVC version check when embedding a manifest file
(RT #43002) [Steve Hay]
Other:
- Split Windows compiler driver packages into individual *.pm files
|
|
|
|
|
|
| |
I'm leaving the bug open as it sounds like there's a better fix that
could go into Configure that Andy mentioned wanting to make. But I'm
removing the 5.12 blocking nature of the bug;
|
| |
|
|
|
|
|
|
| |
You are not really outside of the string then, but the effect will
always be a noop since the number of bytes written will be capped
to not exceed the length of the string as for other offsets.
|
|
|
|
|
|
|
|
|
| |
Changes for 0.89_06 Thu Oct 29 14:55:25 2009
================================================
* Fool the installer into replacing our scripts that were installed
by core with versiononly set.
* Handle PREREQS being mentioned twice in Makefile. Use _vcmp()
to compare the versions, take the highest.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Changes for 0.34 Thu Oct 29 09:22:48 GMT 2009
=================================================
* Remove DOS line endings from test files RT#50926
reported by Steve Hay
|
|
|
|
|
| |
In response to Steve Hay's report in
[RT #50922](https://rt.cpan.org/Ticket/Display.html?id=50922).
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The OPpMAYBE_LVSUB flag wasn't set for OP_AV2ARYLEN, but the
new implementation of pp_av2arylen introduced by the previous
patch was relying on it. So, now, set this flag. Also add tests for
STORESIZE.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Changes for 0.89_05 Tue Oct 27 09:24:55 2009
================================================
* Change the way editing config files is called. This fixes RT #50832,
reported by Dave Golden
* Issue a warning in the shell if we are on MSWin32, don't have IPC::Run
installed and are writing a log file.
* Apply several patches from Alexandr Ciornii (CHORNY) RT #48636 that
add toolchain versions listing to tester reports.
|
|
|
|
| |
(suggested by Aristotle Pagaltzis -- see [perl #69957])
|