diff --git a/check_source/check_style_c.py b/check_source/check_style_c.py index 9bae31f5609b32eb21312b24885d22c232c4f7a9..8a931f3c8cfb4d68cd4d303d92d1767b57031972 100755 --- a/check_source/check_style_c.py +++ b/check_source/check_style_c.py @@ -596,7 +596,11 @@ def blender_check_kw_switch(index_kw_start, index_kw, index_kw_end): break elif tokens[i].type in Token.Comment: - if tokens[i].text == "/* fall-through */": + if tokens[i].text in { + "/* fall-through */", "/* fall through */", + "/* pass-through */", "/* pass through */", + }: + ok = True break else: