Skip to content

Commit 24f553c

Browse files
Update list of unsupported terms - temporary
1 parent 03c22f2 commit 24f553c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

_scripts/compile_blocks.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@
6060
r'|(?:,|\()\s*\*\s*,' # keyword-only * separator (def f(a, *, b))
6161
r'|(?:,|\()\s*/\s*[,)]' # positional-only / sep (def f(a, b, /))
6262
r'|\bnonlocal\b' # nonlocal (closure)
63-
r'|\basync\s+(?:def|for|with)\b', # async / await constructs
63+
r'|\basync\s+(?:def|for|with)\b' # async / await constructs
64+
r'|\bcontinue\b' # continue (WATCodeGenerator hangs)
65+
r'|\belif\b', # elif (WATCodeGenerator does not yet support)
6466
re.MULTILINE,
6567
)
6668

_tests/test_code_blocks.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@
6767
r'|(?:,|\()\s*\*\s*,' # keyword-only * separator (def f(a, *, b))
6868
r'|(?:,|\()\s*/\s*[,)]' # positional-only / sep (def f(a, b, /))
6969
r'|\bnonlocal\b' # nonlocal (closure)
70-
r'|\basync\s+(?:def|for|with)\b', # async / await constructs
70+
r'|\basync\s+(?:def|for|with)\b' # async / await constructs
71+
r'|\bcontinue\b' # continue (WATCodeGenerator hangs)
72+
r'|\belif\b', # elif (WATCodeGenerator does not yet support)
7173
re.MULTILINE,
7274
)
7375

0 commit comments

Comments
 (0)