Skip to content

Commit

Permalink
Fix py2
Browse files Browse the repository at this point in the history
  • Loading branch information
evhub committed May 29, 2024
1 parent b3c887a commit 9959820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coconut/compiler/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ def force_reset_packrat_cache():
ParserElement._incrementalEnabled = False
ParserElement.enableIncremental(
incremental_mode_cache_size if in_incremental_mode() else default_incremental_cache_size,
**ParserElement.getIncrementalInfo(),
**ParserElement.getIncrementalInfo() # no comma for py2
)
else:
ParserElement._packratEnabled = False
Expand Down

0 comments on commit 9959820

Please sign in to comment.