From e1bf988db6f77edc3da566b8f0dc768d3f887080 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Thu, 19 Nov 2009 15:13:30 -0800 Subject: * txr.1: Fixed mangled formatting of exception handling example. --- ChangeLog | 4 ++++ txr.1 | 22 +++++++++++----------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2293dc40..a737c4e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-11-19 Kaz Kylheku + + * txr.1: Fixed mangled formatting of exception handling example. + 2009-11-19 Kaz Kylheku Get rid of macros in favor of safer inline functions. diff --git a/txr.1 b/txr.1 index e9c1fabb..c37dfff3 100644 --- a/txr.1 +++ b/txr.1 @@ -2468,17 +2468,17 @@ is visible in the finally clause. Example: -@(try) -@ (try) -@ (next "nonexistent-file") -@ (finally) -@ (accept) -@ (end) -@(catch file_error) -@ (output) -file error caught -@ (end) -@(end) + @(try) + @ (try) + @ (next "nonexistent-file") + @ (finally) + @ (accept) + @ (end) + @(catch file_error) + @ (output) + file error caught + @ (end) + @(end) In this example, the @(next) directive throws an exception of type file_error, because the given file does not exist. The exit point for this exception is the -- cgit v1.2.3