diff --git a/setup.py b/setup.py index ad91352..a9ac82e 100755 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ class Install(install): "." + filename[:-len(".hy")]) install.run(self) -install_requires = ['rply>=0.7.0', 'astor>=0.5', 'clint>=0.4'] +install_requires = ['rply>=0.7.5', 'astor>=0.5', 'clint>=0.4'] if os.name == 'nt': install_requires.append('pyreadline>=2.1') diff --git a/tests/compilers/test_ast.py b/tests/compilers/test_ast.py index 1bacdf0..cd982d1 100644 --- a/tests/compilers/test_ast.py +++ b/tests/compilers/test_ast.py @@ -588,3 +588,8 @@ def test_setv_builtins(): (defn get [self] 42)) (defn if* [self] 0)) """) + + +def test_lots_of_comment_lines(): + # https://github.com/hylang/hy/issues/1313 + can_compile(1000 * ";\n")