aboutsummaryrefslogtreecommitdiff
path: root/MoonParser/moon_parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'MoonParser/moon_parser.h')
-rw-r--r--MoonParser/moon_parser.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/MoonParser/moon_parser.h b/MoonParser/moon_parser.h
deleted file mode 100644
index 07380cc..0000000
--- a/MoonParser/moon_parser.h
+++ /dev/null
@@ -1,27 +0,0 @@
1#pragma once
2
3#include <string>
4#include <codecvt>
5#include <unordered_set>
6#include <stack>
7#include <algorithm>
8#include <vector>
9#include "ast.hpp"
10using namespace parserlib;
11
12namespace MoonP {
13
14struct State {
15 State() {
16 indents.push(0);
17 stringOpen = -1;
18 }
19 std::string buffer;
20 size_t stringOpen;
21 std::stack<int> indents;
22 std::stack<bool> doStack;
23 static std::unordered_set<std::string> luaKeywords;
24 static std::unordered_set<std::string> keywords;
25};
26
27} // namespace MoonP