Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-03-28 09:04:19 +0300
committerCampbell Barton <campbell@blender.org>2022-03-28 09:06:38 +0300
commit1466f480c4ea894c2f0b23663fcdba644cceb3f8 (patch)
treed50be1db2281f9f8655b21e67b75b8b80219ee49 /source/blender/python/intern/bpy_traceback.h
parent0ce6ed47533f715a72b139cb47a4f2dfb5a0bb39 (diff)
Python: select the start-end range of syntax errors
Python 3.10's syntax errors can specify a range. Use this for text editor error selection.
Diffstat (limited to 'source/blender/python/intern/bpy_traceback.h')
-rw-r--r--source/blender/python/intern/bpy_traceback.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_traceback.h b/source/blender/python/intern/bpy_traceback.h
index c96f8751989..2ebdab527e8 100644
--- a/source/blender/python/intern/bpy_traceback.h
+++ b/source/blender/python/intern/bpy_traceback.h
@@ -10,7 +10,8 @@
extern "C" {
#endif
-void python_script_error_jump(const char *filepath, int *r_lineno, int *r_offset);
+void python_script_error_jump(
+ const char *filepath, int *r_lineno, int *r_offset, int *r_lineno_end, int *r_offset_end);
#ifdef __cplusplus
}