[vala/staging] codegen: Don't evaluate "pos" CCode attribute early
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] codegen: Don't evaluate "pos" CCode attribute early
- Date: Mon, 14 Jan 2019 17:09:37 +0000 (UTC)
commit e82cafa720da4003c3d5034d9de1f94a943e508f
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Mon Jan 14 17:20:55 2019 +0100
codegen: Don't evaluate "pos" CCode attribute early
codegen/valaccodeattribute.vala | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/codegen/valaccodeattribute.vala b/codegen/valaccodeattribute.vala
index ea099de46..52ef9a01c 100644
--- a/codegen/valaccodeattribute.vala
+++ b/codegen/valaccodeattribute.vala
@@ -659,9 +659,6 @@ public class Vala.CCodeAttribute : AttributeCache {
array_length_type = ccode.get_string ("array_length_type");
array_length_name = ccode.get_string ("array_length_cname");
array_length_expr = ccode.get_string ("array_length_cexpr");
- if (ccode.has_argument ("pos")) {
- _pos = ccode.get_double ("pos");
- }
sentinel = ccode.get_string ("sentinel");
}
if (sentinel == null) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]