pyparser/data/Grammar-Lichen | raw changeset files shortlog |
1.1 --- a/pyparser/data/Grammar-Lichen Mon Jan 09 19:11:44 2017 +0100 1.2 +++ b/pyparser/data/Grammar-Lichen Mon Jan 09 19:16:15 2017 +0100 1.3 @@ -72,7 +72,7 @@ 1.4 old_test: or_test | old_lambdef 1.5 old_lambdef: 'lambda' [varargslist] ':' old_test 1.6 1.7 -test: or_test ['if' or_test 'else' test] | lambdef 1.8 +test: or_test | lambdef 1.9 or_test: and_test ('or' and_test)* 1.10 and_test: not_test ('and' not_test)* 1.11 not_test: 'not' not_test | comparison