diff options
author | Lukas Mai <l.mai@web.de> | 2017-11-09 14:34:00 +0100 |
---|---|---|
committer | Lukas Mai <l.mai@web.de> | 2017-11-09 15:51:16 +0100 |
commit | 4d99b64b8fbece54c130062573eba61aa451890a (patch) | |
tree | 4fc02438b4dcc4d5ab8abbd9ac6011dfc58970b3 /perl.h | |
parent | f422095367d289b1dd6ad6d76e51f3b73f47d351 (diff) | |
download | perl-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.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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() |