summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2009-11-19 15:13:30 -0800
committerKaz Kylheku <kaz@kylheku.com>2009-11-19 15:13:30 -0800
commite1bf988db6f77edc3da566b8f0dc768d3f887080 (patch)
tree4a46a8cf494205c3e5fb54e933df8cc9e82ecf10 /txr.1
parentd3abb71364d041a2d8334fcd8d32ba7857606fb0 (diff)
downloadtxr-e1bf988db6f77edc3da566b8f0dc768d3f887080.tar.gz
txr-e1bf988db6f77edc3da566b8f0dc768d3f887080.tar.bz2
txr-e1bf988db6f77edc3da566b8f0dc768d3f887080.zip
* txr.1: Fixed mangled formatting of exception handling example.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.122
1 files changed, 11 insertions, 11 deletions
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