summaryrefslogtreecommitdiff
path: root/src/include/synext_macro.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2017-06-09 10:58:34 +0800
committerJohn Hodge <tpg@ucc.asn.au>2017-06-09 10:58:34 +0800
commit374a42466ee4e9d0a25ef65f73b84e3c870d6f79 (patch)
tree7c9e1575cdbf8b011d56f65f16a8dcc2431bc66f /src/include/synext_macro.hpp
parent9f8d9fa81be1c11b50bc5ced608a3bd18a53de21 (diff)
downloadmrust-374a42466ee4e9d0a25ef65f73b84e3c870d6f79.tar.gz
Fix use of hard tabs
Diffstat (limited to 'src/include/synext_macro.hpp')
-rw-r--r--src/include/synext_macro.hpp22
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