From c14d67a6f73f05fc01d46c571fefbfec712235c9 Mon Sep 17 00:00:00 2001 From: Alex Shinn Date: Tue, 14 Jan 2014 22:14:38 +0900 Subject: [PATCH] Using begin:/end: to better distinguish app hooks from command names. --- lib/chibi/app.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/chibi/app.scm b/lib/chibi/app.scm index 3473a3a8..3fbb7afa 100644 --- a/lib/chibi/app.scm +++ b/lib/chibi/app.scm @@ -141,9 +141,9 @@ ((or) (any (lambda (x) (parse-app prefix x opt-spec args config init end)) (cdar spec))) - ((begin) + ((begin:) (parse-app prefix (cdr spec) opt-spec args config (cadr (car spec)) end fail)) - ((end) + ((end:) (parse-app prefix (cdr spec) opt-spec args config init (cadr (car spec)) fail)) (else (if (procedure? (caar spec))