From adfea5f0eee289fe729c2bcc68105417d77a8407 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Tue, 18 Feb 2020 00:43:07 +0800 Subject: remove the extra type id system. --- src/MoonP/moon_parser.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/MoonP/moon_parser.h') diff --git a/src/MoonP/moon_parser.h b/src/MoonP/moon_parser.h index 2b6e2ae..7a1a8a9 100644 --- a/src/MoonP/moon_parser.h +++ b/src/MoonP/moon_parser.h @@ -15,14 +15,15 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI #include #include #include -using namespace std::string_view_literals; + #include "MoonP/ast.hpp" #include "MoonP/moon_ast.h" namespace MoonP { +using namespace parserlib; struct ParseInfo { - ast_ptr node; + ast_ptr node; std::string error; std::unique_ptr codes; std::string errorMessage(std::string_view msg, const input_range* loc) const; -- cgit v1.2.3-55-g6feb