summaryrefslogtreecommitdiff
path: root/vala/valacharacterliteral.vala
diff options
context:
space:
mode:
Diffstat (limited to 'vala/valacharacterliteral.vala')
-rw-r--r--vala/valacharacterliteral.vala6
1 files changed, 5 insertions, 1 deletions
diff --git a/vala/valacharacterliteral.vala b/vala/valacharacterliteral.vala
index 8deccc66f..d593e5b73 100644
--- a/vala/valacharacterliteral.vala
+++ b/vala/valacharacterliteral.vala
@@ -1,6 +1,6 @@
/* valacharacterliteral.vala
*
- * Copyright (C) 2006-2007 Jürg Billeter, Raffaele Sandrini
+ * Copyright (C) 2006-2008 Jürg Billeter, Raffaele Sandrini
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -77,4 +77,8 @@ public class Vala.CharacterLiteral : Literal {
public unichar get_char () {
return value.next_char ().get_char ();
}
+
+ public override bool is_pure () {
+ return true;
+ }
}