2nd attempt to get check_grammar working on 3.x

This commit is contained in:
rocky 2018-06-22 21:27:46 -04:00
parent 1350f4c899
commit f331deb864

View File

@ -46,11 +46,11 @@ def test_grammar():
unused_rhs.add("mkfunc_annotate")
unused_rhs.add("dict_comp")
unused_rhs.add("classdefdeco1")
if PYTHON_VERSION in (3.5, 3.6, 3.7):
if PYTHON_VERSION >= 3.5:
expect_right_recursive.add((('l_stmts',
('lastl_stmt', 'come_froms', 'l_stmts'))))
pass
else:
elif PYTHON_VERSION < 3.3:
expect_right_recursive.add((('l_stmts',
('lastl_stmt', 'COME_FROM', 'l_stmts'))))
pass