diff options
Diffstat (limited to 'src/ast/crate.hpp')
-rw-r--r-- | src/ast/crate.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ast/crate.hpp b/src/ast/crate.hpp index 1723868c..67b4915e 100644 --- a/src/ast/crate.hpp +++ b/src/ast/crate.hpp @@ -43,12 +43,16 @@ public: bool m_test_harness = false; ::std::vector<TestDesc> m_tests; + // Procedural macros! + ::std::vector<::std::pair< ::std::string, ::AST::Path>> m_proc_macros; + enum class Type { Unknown, RustLib, RustDylib, CDylib, Executable, + ProcMacro, // Procedural macro } m_crate_type = Type::Unknown; enum LoadStd { LOAD_STD, |