summaryrefslogtreecommitdiff
path: root/vala
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2019-01-10 09:55:11 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2019-01-10 12:44:45 +0100
commitb2fd797bdfc8ee825c64b80b70d1c526472758ac (patch)
treeb62d9979734429b17a2fc40ae5b3033f7cf84965 /vala
parent704188bf81302862a45ed1b9a4ac336225598e50 (diff)
downloadvala-b2fd797bdfc8ee825c64b80b70d1c526472758ac.tar.gz
codegen: Add "error_pos" CCode attribute and use it as needed
This makes it possible to use non-standard error parameter positions within the vala source. Fixes https://gitlab.gnome.org/GNOME/vala/issues/728
Diffstat (limited to 'vala')
-rw-r--r--vala/valausedattr.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/valausedattr.vala b/vala/valausedattr.vala
index 97e9e9da9..cb003d2e9 100644
--- a/vala/valausedattr.vala
+++ b/vala/valausedattr.vala
@@ -40,7 +40,7 @@ public class Vala.UsedAttr : CodeVisitor {
"array_length_type", "array_length", "array_length_cname", "array_length_cexpr", "array_null_terminated",
"vfunc_name", "finish_vfunc_name", "finish_name", "free_function_address_of", "pos", "delegate_target", "delegate_target_cname",
"array_length_pos", "delegate_target_pos", "destroy_notify_pos", "ctype", "has_new_function", "notify", "finish_instance",
- "use_inplace", "feature_test_macro", "default_value_on_error", "async_result_pos", "",
+ "use_inplace", "feature_test_macro", "default_value_on_error", "async_result_pos", "error_pos", "",
"Immutable", "",
"SingleInstance", "",