Skip to content

Commit

Permalink
Merge pull request hylang#1615 from Kodiologist/no-parser-cache
Browse files Browse the repository at this point in the history
Disable the parser cache
  • Loading branch information
kirbyfan64 authored May 27, 2018
2 parents e9e27c7 + 8103587 commit e66743c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions hy/lex/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@
from .exceptions import LexException, PrematureEndOfInput


pg = ParserGenerator(
[rule.name for rule in lexer.rules] + ['$end'],
cache_id="hy_parser"
)
pg = ParserGenerator([rule.name for rule in lexer.rules] + ['$end'])

mangle_delim = 'X'

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def run(self):
"." + filename[:-len(".hy")])
install.run(self)

install_requires = ['rply>=0.7.5', 'astor', 'funcparserlib>=0.3.6', 'clint>=0.4']
install_requires = ['rply>=0.7.6', 'astor', 'funcparserlib>=0.3.6', 'clint>=0.4']
if os.name == 'nt':
install_requires.append('pyreadline>=2.1')

Expand Down

0 comments on commit e66743c

Please sign in to comment.