summaryrefslogtreecommitdiff
path: root/Lib/exception.i
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/exception.i')
-rw-r--r--Lib/exception.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/exception.i b/Lib/exception.i
index 050042dab..437eee6f0 100644
--- a/Lib/exception.i
+++ b/Lib/exception.i
@@ -15,7 +15,7 @@
#ifdef SWIGPHP
%{
#include "zend_exceptions.h"
-#define SWIG_exception(code, msg) { zend_throw_exception(NULL, (char*)msg, code TSRMLS_CC); }
+#define SWIG_exception(code, msg) zend_throw_exception(NULL, (char*)msg, code TSRMLS_CC)
%}
#endif