diff options
author | Araq <rumpf_a@web.de> | 2014-11-14 02:18:00 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-11-14 02:18:00 +0100 |
commit | 61c1fd6944c074b4a554a365bd9ce678942dd69e (patch) | |
tree | 542700164f3eb0495a42a1b4f718e615f4ba2738 /doc/manual/exceptions.txt | |
parent | 2b9b09e0521802a92105d0e351ccc6176cadd541 (diff) | |
download | Nim-61c1fd6944c074b4a554a365bd9ce678942dd69e.tar.gz |
fixes #930
Diffstat (limited to 'doc/manual/exceptions.txt')
-rw-r--r-- | doc/manual/exceptions.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/manual/exceptions.txt b/doc/manual/exceptions.txt index ba2ea30a0..b3727b7cf 100644 --- a/doc/manual/exceptions.txt +++ b/doc/manual/exceptions.txt @@ -47,8 +47,8 @@ the rest of the procedure - that is not within a ``finally`` clause - is not executed (if an exception occurs). -Except and finally statements ------------------------------ +Standalone except and finally statements +---------------------------------------- ``except`` and ``finally`` can also be used as a stand-alone statements. Any statements following them in the current block will be considered to be @@ -76,6 +76,9 @@ statements. Example: echo "4. Post exception" # --> 1, 2, 3 is printed, 4 is never reached +Top level standalone ``finally`` or ``except`` statements are not supported +since it's unclear what such a statement should refer to. + Raise statement --------------- |