diff options
author | David Beazley <dave@dabeaz.com> | 2015-04-20 13:33:05 -0500 |
---|---|---|
committer | David Beazley <dave@dabeaz.com> | 2015-04-20 13:33:05 -0500 |
commit | c34d9d515a2a27ac5d07cb9da1e12b8bd56e6fd0 (patch) | |
tree | 8d8552ac58a6f203c8f6ea0a32617607978a9563 /CHANGES | |
parent | 7238d1d13c01c10d4602142c45b2471aee648134 (diff) | |
download | ply-c34d9d515a2a27ac5d07cb9da1e12b8bd56e6fd0.tar.gz |
Substantial code cleanup. Modernization to Python 2.6.
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -1,5 +1,22 @@ Version 3.5 --------------------- +04/20/15: beazley + Added actions to be defined to character literals (Issue #32). For example: + + literals = [ '{', '}' ] + + def t_lbrace(t): + r'\{' + # Some action + t.type = '{' + return t + + def t_rbrace(t): + r'\}' + # Some action + t.type = '}' + return t + 04/19/15: beazley Import of the 'parsetab.py' file is now constrained to only consider the directory specified by the outputdir argument to yacc(). If not supplied, |