Module: wine
Branch: master
Commit: 224d284f99416ef5b56cd36284d289447a7f5edb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=224d284f99416ef5b56cd3628…
Author: Alex Henrie <alexhenrie24(a)gmail.com>
Date: Wed Dec 13 23:23:28 2017 -0700
include: Discourage use of 'break' or 'continue' inside __TRY/__EXCEPT.
Signed-off-by: Alex Henrie <alexhenrie24(a)gmail.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
include/wine/exception.h | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/include/wine/exception.h b/include/wine/exception.h
index 5bc4d1c..8e3f481 100644
--- a/include/wine/exception.h
+++ b/include/wine/exception.h
@@ -61,10 +61,12 @@ extern "C" {
* use GetExceptionInformation() and GetExceptionCode() to retrieve the
* exception info.
*
- * Warning: inside a __TRY or __EXCEPT block, 'break' or 'continue' statements
- * break out of the current block. You cannot use 'return', 'goto'
- * or 'longjmp' to leave a __TRY block, as this will surely crash.
- * You can use them to leave a __EXCEPT block though.
+ * Warning: Inside a __TRY or __EXCEPT block, 'break' or 'continue' statements
+ * break out of the current block, but avoid using them because they
+ * won't work when compiling with native exceptions. You cannot use
+ * 'return', 'goto', or 'longjmp' to leave a __TRY block either, as
+ * this will surely crash. You can use 'return', 'goto', or 'longjmp'
+ * to leave an __EXCEPT block though.
*
* -- AJ
*/