Skip to content
Snippets Groups Projects
Commit 0f753cfe authored by Campbell Barton's avatar Campbell Barton
Browse files

typo

parent a6d62ac7
No related branches found
No related tags found
No related merge requests found
...@@ -550,7 +550,7 @@ def blender_check_kw_switch(index_kw_start, index_kw, index_kw_end): ...@@ -550,7 +550,7 @@ def blender_check_kw_switch(index_kw_start, index_kw, index_kw_end):
# 'default' is seen as a label # 'default' is seen as a label
# print(tokens[i].type, tokens[i].text) # print(tokens[i].type, tokens[i].text)
if tokens[i].type in {Token.Keyword, Token.Name.Label}: if tokens[i].type in {Token.Keyword, Token.Name.Label}:
if tokens[i].text in {"case", "default:", "break", "return", "comtinue", "goto"}: if tokens[i].text in {"case", "default:", "break", "return", "continue", "goto"}:
ws_other_indent = extract_to_linestart(i) ws_other_indent = extract_to_linestart(i)
# non ws start - we ignore for now, allow case A: case B: ... # non ws start - we ignore for now, allow case A: case B: ...
if ws_other_indent.isspace(): if ws_other_indent.isspace():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment