[vala/0.10] CodeWriter: Write [Diagnostics] attribute
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.10] CodeWriter: Write [Diagnostics] attribute
- Date: Sat, 12 Mar 2011 15:12:10 +0000 (UTC)
commit 108bca2437e8a4f697610c2d360e61f413f118cf
Author: Jürg Billeter <j bitron ch>
Date: Tue Mar 1 11:13:10 2011 +0100
CodeWriter: Write [Diagnostics] attribute
vala/valacodewriter.vala | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/vala/valacodewriter.vala b/vala/valacodewriter.vala
index ddf36d4..748609d 100644
--- a/vala/valacodewriter.vala
+++ b/vala/valacodewriter.vala
@@ -971,6 +971,10 @@ public class Vala.CodeWriter : CodeVisitor {
write_indent ();
write_string ("[NoReturn]");
}
+ if (m.get_attribute ("Diagnostics") != null) {
+ write_indent ();
+ write_string ("[Diagnostics]");
+ }
emit_deprecated_attribute (m);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]