diff options
author | John Hodge <tpg@ucc.asn.au> | 2017-06-09 10:58:34 +0800 |
---|---|---|
committer | John Hodge <tpg@ucc.asn.au> | 2017-06-09 10:58:34 +0800 |
commit | 374a42466ee4e9d0a25ef65f73b84e3c870d6f79 (patch) | |
tree | 7c9e1575cdbf8b011d56f65f16a8dcc2431bc66f /src/include/synext_macro.hpp | |
parent | 9f8d9fa81be1c11b50bc5ced608a3bd18a53de21 (diff) | |
download | mrust-374a42466ee4e9d0a25ef65f73b84e3c870d6f79.tar.gz |
Fix use of hard tabs
Diffstat (limited to 'src/include/synext_macro.hpp')
-rw-r--r-- | src/include/synext_macro.hpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/include/synext_macro.hpp b/src/include/synext_macro.hpp index 0abaf0fe..0359d508 100644 --- a/src/include/synext_macro.hpp +++ b/src/include/synext_macro.hpp @@ -31,19 +31,19 @@ extern void Register_Synext_Macro_Static(MacroDef* def); struct MacroDef { - MacroDef* prev; - ::std::string name; - ::std::unique_ptr<ExpandProcMacro> def; - MacroDef(::std::string name, ::std::unique_ptr<ExpandProcMacro> def) : - prev(nullptr), - name(::std::move(name)), - def(::std::move(def)) - { - Register_Synext_Macro_Static(this); - } + MacroDef* prev; + ::std::string name; + ::std::unique_ptr<ExpandProcMacro> def; + MacroDef(::std::string name, ::std::unique_ptr<ExpandProcMacro> def) : + prev(nullptr), + name(::std::move(name)), + def(::std::move(def)) + { + Register_Synext_Macro_Static(this); + } }; -#define STATIC_MACRO(ident, _handler_class) static MacroDef s_register_##_handler_class(ident, ::std::unique_ptr<ExpandProcMacro>(new _handler_class())); +#define STATIC_MACRO(ident, _handler_class) static MacroDef s_register_##_handler_class(ident, ::std::unique_ptr<ExpandProcMacro>(new _handler_class())); #endif |