diff options
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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.) |