summaryrefslogtreecommitdiff
path: root/CHANGES
diff options
context:
space:
mode:
authorDavid Beazley <dave@dabeaz.com>2016-08-30 16:12:45 -0500
committerDavid Beazley <dave@dabeaz.com>2016-08-30 16:12:45 -0500
commit11913b112e4a63317d82fa8d3c1a3e87a22c83c8 (patch)
tree03b4b163cc79f29e15757f6d560e897a2071ae1c /CHANGES
parent5ca447eb64e2717dda18a302ae52500484b6176f (diff)
downloadply-11913b112e4a63317d82fa8d3c1a3e87a22c83c8.tar.gz
Published parser state on parser objects
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES12
1 files changed, 12 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index b309290..75cba86 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,17 @@
Version 3.9
---------------------
+08/30/16: beazley
+ Exposed the parser state number as the parser.state attribute
+ in productions and error functions. For example:
+
+ def p_somerule(p):
+ '''
+ rule : A B C
+ '''
+ print('State:', p.parser.state)
+
+ May address issue #65 (publish current state in error callback).
+
08/30/16: beazley
Fixed Issue #88. Python3 compatibility with ply/cpp.