diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-11 01:37:26 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-11 01:37:26 +0300 |
commit | 89c2ff31d93582bd67a359dd0da56061ce7581cb (patch) | |
tree | edca254721ef70800471a62889cef96c2395396c /source/blender/editors/space_text/text_format_py.c | |
parent | 3756f920f4894c9ec748c0ece5f63e1bc9c616df (diff) |
PyAPI: update keyword list
Diffstat (limited to 'source/blender/editors/space_text/text_format_py.c')
-rw-r--r-- | source/blender/editors/space_text/text_format_py.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_text/text_format_py.c b/source/blender/editors/space_text/text_format_py.c index 3576d12998f..50bad9c07cf 100644 --- a/source/blender/editors/space_text/text_format_py.c +++ b/source/blender/editors/space_text/text_format_py.c @@ -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; |