From: Florian Ragwitz Date: Sun, 10 May 2009 00:05:34 +0000 (+0000) Subject: Version 0.005002. X-Git-Tag: 0.005002^0 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FDevel-Declare.git;a=commitdiff_plain;h=3f54dfa370ebb4c67924cc21d79df7234aa1b8f4 Version 0.005002. --- diff --git a/Changes b/Changes index 6d076aa..8f94f6c 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,9 @@ Changes for Devel-Declare +0.005002 + - Don't invoke the linestr callback if the parser was expecting an operator. + This makes calling a method with the name of a declarator work. + 0.005001 - Implement skip_declarator in terms of scan_word in Context::Simple. This avoids relying on PL_tokenbuf to skip past the declarator, as diff --git a/lib/Devel/Declare.pm b/lib/Devel/Declare.pm index cb028f7..aca999c 100644 --- a/lib/Devel/Declare.pm +++ b/lib/Devel/Declare.pm @@ -4,7 +4,7 @@ use strict; use warnings; use 5.008001; -our $VERSION = '0.005001'; +our $VERSION = '0.005002'; use constant DECLARE_NAME => 1; use constant DECLARE_PROTO => 2;