develooper Front page | perl.perl5.porters | Postings from April 2010

Re: [PATCH 1/3] deprecate . immediately after hex/oct/bin literal

Thread Previous
From:
Zefram
Date:
April 23, 2010 10:58
Subject:
Re: [PATCH 1/3] deprecate . immediately after hex/oct/bin literal
Message ID:
20100423175832.GQ17280@lake.fysh.org
I wrote:
>Expressions such as "0x1.8" (concatenation of two numbers, the first
>being a hex/oct/bin literal) will now warn.

This patch is redundant with a different one that got applied to blead
earlier today.  I'm sending it for two reasons.  Firstly because (as
discussed on IRC) I'm also sending two more patches regarding deprecating
parts of numeric syntax, and those patches were originally built on top
of this one, so this provides context.  (I can rebase the patches if
that turns out to be more helpful, of course.)

Secondly because some parts of this patch may be worth merging with
what's just gone on blead.  I think I have a better warning message,
in so far as it actually uses the word "deprecated".  And the tests here
are more systematic.  Someone else should go through the two patches to
pick the best of each.

-zefram

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About