summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorLukas Mai <l.mai@web.de>2017-11-09 14:34:00 +0100
committerLukas Mai <l.mai@web.de>2017-11-09 15:51:16 +0100
commit4d99b64b8fbece54c130062573eba61aa451890a (patch)
tree4fc02438b4dcc4d5ab8abbd9ac6011dfc58970b3 /perl.h
parentf422095367d289b1dd6ad6d76e51f3b73f47d351 (diff)
downloadperl-4d99b64b8fbece54c130062573eba61aa451890a.tar.gz
Revert "perl.h: Use STMT_START { ... } STMT_END"
This reverts commit 11b2cef65dac01e8723c9a6f6e640665cb752a2c. DECLARE_STORE_LC_NUMERIC_SET_TO_NEEDED seems to be unused, but the previous commit made it a syntax error (unmatched '{'). It also doesn't make sense to wrap what is supposed to be a declaration in a { } block.
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/perl.h b/perl.h
index 4c13363851..631c4f0e29 100644
--- a/perl.h
+++ b/perl.h
@@ -5785,10 +5785,8 @@ expression, but with an empty argument list, like this:
#define DECLARATION_FOR_STORE_LC_NUMERIC_SET_TO_NEEDED \
DECLARATION_FOR_LC_NUMERIC_MANIPULATION
#define DECLARE_STORE_LC_NUMERIC_SET_TO_NEEDED() \
- STMT_START { \
- DECLARATION_FOR_LC_NUMERIC_MANIPULATION; \
- STORE_LC_NUMERIC_SET_TO_NEEDED(); \
- } STMT_END
+ DECLARATION_FOR_STORE_LC_NUMERIC_SET_TO_NEEDED; \
+ STORE_LC_NUMERIC_SET_TO_NEEDED();
#define LOCK_NUMERIC_STANDARD() LOCK_LC_NUMERIC_STANDARD()
#define RESTORE_NUMERIC_LOCAL() RESTORE_LC_NUMERIC_UNDERLYING()
#define RESTORE_NUMERIC_STANDARD() RESTORE_LC_NUMERIC_STANDARD()