diff options
| author | Li Jin <dragon-fly@qq.com> | 2020-02-18 00:43:07 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2020-02-18 00:43:07 +0800 |
| commit | adfea5f0eee289fe729c2bcc68105417d77a8407 (patch) | |
| tree | 9ec34e380c7157f0ed14a80ef4e2ab30876942fd /src/MoonP/moon_compiler.cpp | |
| parent | 27e0f69843f412f25703c2c9165dbc1a0c6d6218 (diff) | |
| download | yuescript-adfea5f0eee289fe729c2bcc68105417d77a8407.tar.gz yuescript-adfea5f0eee289fe729c2bcc68105417d77a8407.tar.bz2 yuescript-adfea5f0eee289fe729c2bcc68105417d77a8407.zip | |
remove the extra type id system.
Diffstat (limited to '')
| -rw-r--r-- | src/MoonP/moon_compiler.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/MoonP/moon_compiler.cpp b/src/MoonP/moon_compiler.cpp index fa55496..23ce6ce 100644 --- a/src/MoonP/moon_compiler.cpp +++ b/src/MoonP/moon_compiler.cpp | |||
| @@ -11,12 +11,15 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI | |||
| 11 | #include <unordered_map> | 11 | #include <unordered_map> |
| 12 | #include <stack> | 12 | #include <stack> |
| 13 | #include <vector> | 13 | #include <vector> |
| 14 | #include <numeric> | ||
| 15 | #include <memory> | 14 | #include <memory> |
| 15 | #include <cassert> | ||
| 16 | |||
| 16 | #include "MoonP/moon_parser.h" | 17 | #include "MoonP/moon_parser.h" |
| 17 | #include "MoonP/moon_compiler.h" | 18 | #include "MoonP/moon_compiler.h" |
| 18 | 19 | ||
| 19 | namespace MoonP { | 20 | namespace MoonP { |
| 21 | using namespace std::string_view_literals; | ||
| 22 | using namespace parserlib; | ||
| 20 | 23 | ||
| 21 | #define BLOCK_START do { | 24 | #define BLOCK_START do { |
| 22 | #define BLOCK_END } while (false); | 25 | #define BLOCK_END } while (false); |
