aboutsummaryrefslogtreecommitdiff
path: root/src/MoonP/moon_compiler.cpp
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2020-02-18 00:43:07 +0800
committerLi Jin <dragon-fly@qq.com>2020-02-18 00:43:07 +0800
commitadfea5f0eee289fe729c2bcc68105417d77a8407 (patch)
tree9ec34e380c7157f0ed14a80ef4e2ab30876942fd /src/MoonP/moon_compiler.cpp
parent27e0f69843f412f25703c2c9165dbc1a0c6d6218 (diff)
downloadyuescript-adfea5f0eee289fe729c2bcc68105417d77a8407.tar.gz
yuescript-adfea5f0eee289fe729c2bcc68105417d77a8407.tar.bz2
yuescript-adfea5f0eee289fe729c2bcc68105417d77a8407.zip
remove the extra type id system.
Diffstat (limited to 'src/MoonP/moon_compiler.cpp')
-rw-r--r--src/MoonP/moon_compiler.cpp5
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
19namespace MoonP { 20namespace MoonP {
21using namespace std::string_view_literals;
22using 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);