PyAPI: update keyword list
[blender.git] / source / blender / editors / space_text / text_format_py.c
index 3576d12998f9e7994dd765899fdab362dbce8789..50bad9c07cf9060f3bb63e41440b9ba3c11205ca 100644 (file)
@@ -62,6 +62,8 @@ static int txtfmt_py_find_builtinfunc(const char *string)
        if      (STR_LITERAL_STARTSWITH(string, "and",      len)) i = len;
        else if (STR_LITERAL_STARTSWITH(string, "as",       len)) i = len;
        else if (STR_LITERAL_STARTSWITH(string, "assert",   len)) i = len;
+       else if (STR_LITERAL_STARTSWITH(string, "async",    len)) i = len;
+       else if (STR_LITERAL_STARTSWITH(string, "await",    len)) i = len;
        else if (STR_LITERAL_STARTSWITH(string, "break",    len)) i = len;
        else if (STR_LITERAL_STARTSWITH(string, "continue", len)) i = len;
        else if (STR_LITERAL_STARTSWITH(string, "del",      len)) i = len;