CLIM mail archive
[Prev][Next][Index][Thread]
Re: Tiny example of simple-parse-error query problem?
Date: Wed, 24 Jun 92 08:08:59 PDT
From: Curt Eggemeyer <curt@eraserhead.jpl.nasa.gov>
To: SWM@stony-brook.scrc.symbolics.com
Subject: Tiny example of simple-parse-error query problem?
Cc: cl-bugs@franz.com, jmorrill@BBN.COM
(define-command
(com-test-that-doesn't-work
:command-table your-command-table :name t) ()
(accept-from-string 'my-odd-one "4"))
If CLIM won't handle it, you can do it yourself:
(define-command
(com-test-that-does-work :command-table your-command-table :name t) ()
(handler-case
(accept-from-string 'my-odd-one "4")
(simple-parse-error (condition)
(format t "~%Oops, you goofed.")
(let ((*print-escape* nil)) (print condition)))))
Main Index |
Thread Index