aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-07-06 01:22:13 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-07-07 13:10:38 +0200
commitd0fef42e07614e88fe237571867123b8229c24d3 (patch)
treee407f6537280e66a5ce7c4750e3bb87c498e80d0
parentResolve TZ for xcal datetime. (diff)
downloadcalp-d0fef42e07614e88fe237571867123b8229c24d3.tar.gz
calp-d0fef42e07614e88fe237571867123b8229c24d3.tar.xz
Rename parse component to parse ical.
-rw-r--r--module/vcomponent/parse.scm4
-rw-r--r--module/vcomponent/parse/ical.scm (renamed from module/vcomponent/parse/component.scm)4
-rw-r--r--tests/xcal.scm2
3 files changed, 4 insertions, 6 deletions
diff --git a/module/vcomponent/parse.scm b/module/vcomponent/parse.scm
index 7b2d7fc5..0b5f5529 100644
--- a/module/vcomponent/parse.scm
+++ b/module/vcomponent/parse.scm
@@ -1,7 +1,7 @@
;;; Commentary:
;; Code for parsing vdir's and icalendar files.
;; This module handles the finding of files, while
-;; (vcomponent parse component) handles reading data from icalendar files.
+;; (vcomponent parse ical) handles reading data from icalendar files.
;;; Code:
(define-module (vcomponent parse)
@@ -17,7 +17,7 @@
:use-module (util exceptions)
:use-module (vcomponent base)
- :use-module (vcomponent parse component)
+ :use-module (vcomponent parse ical)
:re-export (parse-calendar)
)
diff --git a/module/vcomponent/parse/component.scm b/module/vcomponent/parse/ical.scm
index 41ef30f5..a07487f0 100644
--- a/module/vcomponent/parse/component.scm
+++ b/module/vcomponent/parse/ical.scm
@@ -1,6 +1,4 @@
-;;; TODO rename to (vcomponent parse ical)? To work nices alongside
-;;; (vcomponent parse xcal)
-(define-module (vcomponent parse component)
+(define-module (vcomponent parse ical)
:use-module (util)
:use-module (util exceptions)
:use-module ((ice-9 rdelim) :select (read-line))
diff --git a/tests/xcal.scm b/tests/xcal.scm
index 88c708f4..f11ca1aa 100644
--- a/tests/xcal.scm
+++ b/tests/xcal.scm
@@ -1,5 +1,5 @@
(((vcomponent parse xcal) sxcal->vcomponent)
- ((vcomponent parse component) parse-calendar)
+ ((vcomponent parse ical) parse-calendar)
((output xcal) vcomponent->sxcal)
((util) ->)
((vcomponent base)