Add "if_not_and" rule similar to "if_not_or" rule.

This commit is contained in:
rocky
2019-12-13 05:13:51 -05:00
parent 668141662e
commit 805ec7dbfc
7 changed files with 58 additions and 31 deletions

View File

@@ -67,5 +67,7 @@ def customize_for_version37(self, version):
'%[3]{pattr.replace("-", " ")} %p %p', (0, 19), (6, 19) ),
'if_exp_37a': ( '%p if %p else %p', (1, 'expr', 27), (0, 27), (4, 'expr', 27) ),
'if_exp_37b': ( '%p if %p else %p', (2, 'expr', 27), (0, 'expr', 27), (5, 'expr', 27) ),
'testfalse_not_or': ( "not %c or %c",
(0, "expr"),
(2, "expr") ),
})