aboutsummaryrefslogtreecommitdiff
path: root/cs/printer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'cs/printer.cs')
-rw-r--r--cs/printer.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/cs/printer.cs b/cs/printer.cs
index b5e8c63..8b10dd1 100644
--- a/cs/printer.cs
+++ b/cs/printer.cs
@@ -20,7 +20,9 @@ namespace Mal {
string delim, bool print_readably) {
List<string> strs = new List<string>();
foreach (KeyValuePair<string, MalVal> entry in value) {
- if (print_readably) {
+ if (entry.Key.Length > 0 && entry.Key[0] == '\u029e') {
+ strs.Add(":" + entry.Key.Substring(1));
+ } else if (print_readably) {
strs.Add("\"" + entry.Key.ToString() + "\"");
} else {
strs.Add(entry.Key.ToString());