aboutsummaryrefslogtreecommitdiff
path: root/module/vcomponent/parse.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-04-10 13:46:55 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-04-10 13:46:55 +0200
commitde3dea381a5a6618f9041e2970c752fd49136dda (patch)
treebe75a7ced7a30b3fb54ca290d5fe345e4fa7e336 /module/vcomponent/parse.scm
parentShow EXDATES in text format. (diff)
downloadcalp-de3dea381a5a6618f9041e2970c752fd49136dda.tar.gz
calp-de3dea381a5a6618f9041e2970c752fd49136dda.tar.xz
Add some TODO's.
Diffstat (limited to 'module/vcomponent/parse.scm')
-rw-r--r--module/vcomponent/parse.scm9
1 files changed, 5 insertions, 4 deletions
diff --git a/module/vcomponent/parse.scm b/module/vcomponent/parse.scm
index 7ff1237e..38027759 100644
--- a/module/vcomponent/parse.scm
+++ b/module/vcomponent/parse.scm
@@ -230,10 +230,11 @@ row ~a column ~a ctx = ~a
;; Allowed (some) repeated keys
(if (memv key '(EXDATE))
(aif (attr* component key)
- (begin (warning "Merging EXDATE fields")
- ;; updates the current vline
- ;; NOTE that this discards any properties belonging to this object
- (set! (value it) (cons (value vline) (value it))))
+ ;; updates the current vline
+ ;; NOTE that this discards any properties belonging to this object
+ ;; TODO a more propper way to do it would be to store multiple vline
+ ;; objects for a given key.
+ (set! (value it) (cons (value vline) (value it)))
(begin (mod! (value vline) list)
(set-vline! component key vline)))
;; Keys which aren't allowed to be repeated.