A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s/TRY/TRYOLD/ I'd like to introduce a TRY macro in the exception mecanism, but this...
[simgrid.git]
/
include
/
xbt
/
error.h
diff --git
a/include/xbt/error.h
b/include/xbt/error.h
index
b8ea1f0
..
7ee0b89
100644
(file)
--- a/
include/xbt/error.h
+++ b/
include/xbt/error.h
@@
-65,7
+65,7
@@
typedef enum {
/** @brief return the error code if != no_error
* @hideinitializer
*/
-#define TRY(action) do { \
+#define TRY
OLD
(action) do { \
if ((errcode=action) != no_error) { \
ERROR1("'%s' error raising...", xbt_error_name(errcode)); \
return errcode; \