aboutsummaryrefslogtreecommitdiff
path: root/ccwl
diff options
context:
space:
mode:
Diffstat (limited to 'ccwl')
-rw-r--r--ccwl/yaml.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/ccwl/yaml.scm b/ccwl/yaml.scm
index 00942de..a33a88f 100644
--- a/ccwl/yaml.scm
+++ b/ccwl/yaml.scm
@@ -79,8 +79,9 @@ serialized to YAML. Else, return @code{#f}."
;; Display on the same line if value is
;; - an empty array
;; - an empty dictionary
+ ;; - an atom
;; - an array with an atom as its only element
- ((or #() () #((? atom? _)))
+ ((or #() () (? atom? _) #((? atom? _)))
(display " " port)
(scm->yaml value port level))
;; Else, display it on the next line.