diff options
| author | Li Jin <dragon-fly@qq.com> | 2020-09-17 11:43:44 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2020-09-17 11:43:44 +0800 |
| commit | 5e032607d83070ff6968a3fa3eabaf86a0ea2c2e (patch) | |
| tree | 5e49d01603e73c4755f0d643f72946e47c11f38f /src | |
| parent | bf39ea1dbbe6184c62cafc0249402f4082331de4 (diff) | |
| download | yuescript-5e032607d83070ff6968a3fa3eabaf86a0ea2c2e.tar.gz yuescript-5e032607d83070ff6968a3fa3eabaf86a0ea2c2e.tar.bz2 yuescript-5e032607d83070ff6968a3fa3eabaf86a0ea2c2e.zip | |
fix.
Diffstat (limited to 'src')
| -rw-r--r-- | src/moonp.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/moonp.cpp b/src/moonp.cpp index e9ea5c2..68f7b10 100644 --- a/src/moonp.cpp +++ b/src/moonp.cpp | |||
| @@ -24,8 +24,6 @@ using namespace std::string_view_literals; | |||
| 24 | #include "ghc/fs_std.hpp" | 24 | #include "ghc/fs_std.hpp" |
| 25 | #include "linenoise.hpp" | 25 | #include "linenoise.hpp" |
| 26 | 26 | ||
| 27 | #define MOONP_COMPILER_ONLY | ||
| 28 | |||
| 29 | #ifndef MOONP_NO_MACRO | 27 | #ifndef MOONP_NO_MACRO |
| 30 | #define _DEFER(code,line) std::shared_ptr<void> _defer_##line(nullptr, [&](auto){code;}) | 28 | #define _DEFER(code,line) std::shared_ptr<void> _defer_##line(nullptr, [&](auto){code;}) |
| 31 | #define DEFER(code) _DEFER(code,__LINE__) | 29 | #define DEFER(code) _DEFER(code,__LINE__) |
