diff options
author | Li Jin <dragon-fly@qq.com> | 2019-09-17 00:41:21 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2019-09-17 00:41:21 +0800 |
commit | 74c4f6eab47f76b093e17f515204525e00a3b352 (patch) | |
tree | d737b1437f103842f30c96a2787468d474405efb /MoonParser/moon_parser.h | |
parent | b65798d7960d797f2b7074c4cc47b8c70a9f5270 (diff) | |
download | yuescript-74c4f6eab47f76b093e17f515204525e00a3b352.tar.gz yuescript-74c4f6eab47f76b093e17f515204525e00a3b352.tar.bz2 yuescript-74c4f6eab47f76b093e17f515204525e00a3b352.zip |
completing spec/class.moon
Diffstat (limited to 'MoonParser/moon_parser.h')
-rw-r--r-- | MoonParser/moon_parser.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/MoonParser/moon_parser.h b/MoonParser/moon_parser.h index 6f9ef8f..5327b05 100644 --- a/MoonParser/moon_parser.h +++ b/MoonParser/moon_parser.h | |||
@@ -10,10 +10,8 @@ | |||
10 | #include "parserlib.hpp" | 10 | #include "parserlib.hpp" |
11 | using namespace parserlib; | 11 | using namespace parserlib; |
12 | 12 | ||
13 | struct State | 13 | struct State { |
14 | { | 14 | State() { |
15 | State() | ||
16 | { | ||
17 | indents.push(0); | 15 | indents.push(0); |
18 | stringOpen = -1; | 16 | stringOpen = -1; |
19 | } | 17 | } |