Spelling corrections

This commit is contained in:
rocky
2024-07-10 13:31:39 -04:00
parent 51141ad06d
commit 3c6e378cc4
17 changed files with 88 additions and 54 deletions

View File

@@ -3,10 +3,10 @@
# Grammar allows multiple adjacent 'if's in listcomps and genexps,
# even though it's silly. Make sure it works (ifelse broke this.)
[ x for x in range(10) if x % 2 if x % 3 ]
[x for x in range(10) if x % 2 if x % 3]
list(x for x in range(10) if x % 2 if x % 3)
# expresion which evaluates True unconditionally,
# expression which evaluates True unconditionally,
# but leave dead code or junk around that we have to match on.
# Tests "if_exp_true" rule
5 if 1 else 2