Merge commit 'yanick/docs'
[p5sagit/Devel-Declare.git] / Changes
diff --git a/Changes b/Changes
index a3ca9f3..8f94f6c 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,15 @@
 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
+    PL_tokenbuf might be overwritten by compiling other code between calling
+    the linestr callback and skip_declarator.
+
 0.005000
   - Port the documentation from %^H and Scope::Guard to B::Hooks::EndOfScope.
   - Fix extracting multi-line strings using scan_str.