This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
-Dmad broken for c++
authorTony Cook <tony@develop-help.com>
Tue, 1 Dec 2009 08:12:30 +0000 (19:12 +1100)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Tue, 1 Dec 2009 09:09:07 +0000 (10:09 +0100)
commit5ca68648d92617d8e0deebbc877c24f91be5ce4d
treed092c8d12d71ecd00ac72041a526793db4ec9f9d
parent9d5fa2fef2f7498beeacbefa90966b9242a6fab5
-Dmad broken for c++

On Tue, Dec 01, 2009 at 08:22:38AM +0100, H.Merijn Brand wrote:
> perly.y: In function 'int Perl_madparse(PerlInterpreter*)':
> perly.y:335: error: cast from 'TOKEN*' to 'line_t' loses precision
> perly.y:348: error: cast from 'TOKEN*' to 'line_t' loses precision
> perly.y:430: error: cast from 'TOKEN*' to 'line_t' loses precision

Uses the same mechanism used in if, unless to retrieve an ival set in
toke.c

Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
perly.y