summaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index d9f70676..8e33631d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,11 @@
* What's new
+- A new construct for error handling is available. It is similar to c++
+ exception catching, using try and catch as new keywords. Within a handler
+ or function, the following is valid and may be nested:
+ try { /* arbitrary statements */ }
+ catch (er) { /* e.g. println("caught error ", er) */ }
+
- A new command line flag '-W' forces systemtap to abort translation of
a script if any warnings are produced. It is similar to gcc's -Werror.
(If '-w' is also supplied to suppress warnings, it wins.)