[valadoc] libvaladoc/api: FormalParameter: mark default values as literals
- From: Florian Brosch <flobrosch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [valadoc] libvaladoc/api: FormalParameter: mark default values as literals
- Date: Mon, 7 Feb 2011 17:38:43 +0000 (UTC)
commit 80269c7bbde33dae1f074c238ad2a4de81bd030b
Author: Florian Brosch <flo brosch gmail com>
Date: Sun Feb 6 15:49:14 2011 +0100
libvaladoc/api: FormalParameter: mark default values as literals
src/libvaladoc/api/formalparameter.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libvaladoc/api/formalparameter.vala b/src/libvaladoc/api/formalparameter.vala
index 1dd7bc8..032d550 100644
--- a/src/libvaladoc/api/formalparameter.vala
+++ b/src/libvaladoc/api/formalparameter.vala
@@ -88,7 +88,7 @@ public class Valadoc.Api.FormalParameter : Symbol {
if (has_default_value) {
signature.append ("=");
- signature.append (((Vala.Parameter) symbol).initializer.to_string ());
+ signature.append_literal (((Vala.Parameter) symbol).initializer.to_string ());
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]