X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/0683223aa93d14e4b1d0620010392c518a3a6392..d4efbcd93c940ad522fcf8c601ec1829d2e0b10d:/exc.h?ds=sidebyside diff --git a/exc.h b/exc.h index 6b8ecd1..1db4a37 100644 --- a/exc.h +++ b/exc.h @@ -7,7 +7,7 @@ * (c) 1998 Straylight/Edgeware */ -/*----- Licensing notice --------------------------------------------------* +/*----- Licensing notice --------------------------------------------------* * * This file is part of the mLib utilities library. * @@ -15,12 +15,12 @@ * it under the terms of the GNU Library General Public License as * published by the Free Software Foundation; either version 2 of the * License, or (at your option) any later version. - * + * * mLib is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Library General Public License for more details. - * + * * You should have received a copy of the GNU Library General Public * License along with mLib; if not, write to the Free * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, @@ -96,11 +96,11 @@ * ... something dangerous ... * } CATCH switch (exc_type) { * case EXC_INTERESTING: - * ... handle exception ... - * break; + * ... handle exception ... + * break; * default: - * ... do tidying up ... - * RETHROW; + * ... do tidying up ... + * RETHROW; * } END_TRY; */ @@ -260,10 +260,10 @@ extern __exc_hnd *__exc_list; /* List of active handlers */ * __exc_hnd h; * add_handler(&h); * if (!setjmp(h.buf)) { - * do while (0); - * remove_handler(&h); + * do while (0); + * remove_handler(&h); * } else - * + * * } while (0) * * Everything else is ugly hacking to make things work.