Skip to content

Commit

Permalink
Fix ply warning on duplicate p_include
Browse files Browse the repository at this point in the history
  • Loading branch information
etingof committed Aug 17, 2018
1 parent 81926a2 commit 6dcc472
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@

Revision 0.2.5, released 15-08-2018
-----------------------------------

- Fixed ply warning on duplicate grammar handler

Revision 0.2.4, released 15-08-2018
-----------------------------------

Expand Down
2 changes: 1 addition & 1 deletion apacheconfig/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# http://www.python.org/dev/peps/pep-0396/
__version__ = '0.2.4'
__version__ = '0.2.5'

from contextlib import contextmanager

Expand Down
2 changes: 1 addition & 1 deletion apacheconfig/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def p_include(self, p):


class ApacheIncludesParser(object):
def p_include(self, p):
def p_apacheinclude(self, p):
"""include : INCLUDE
| APACHEINCLUDE
"""
Expand Down

0 comments on commit 6dcc472

Please sign in to comment.