diff options
author | Li Jin <dragon-fly@qq.com> | 2021-02-09 16:23:15 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2021-02-09 16:23:15 +0800 |
commit | 9f622c5bbd9cfb7e66a9fd3c371461af4249d566 (patch) | |
tree | 72a9157ca752b629dde288f4d2b97a072b7e0d5f /src/MoonP/moon_parser.cpp | |
parent | 4b5b9181d484607b6eeeda2608ff6483647222a9 (diff) | |
download | yuescript-9f622c5bbd9cfb7e66a9fd3c371461af4249d566.tar.gz yuescript-9f622c5bbd9cfb7e66a9fd3c371461af4249d566.tar.bz2 yuescript-9f622c5bbd9cfb7e66a9fd3c371461af4249d566.zip |
partially fix another issue from issue #38.
Diffstat (limited to 'src/MoonP/moon_parser.cpp')
-rw-r--r-- | src/MoonP/moon_parser.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/MoonP/moon_parser.cpp b/src/MoonP/moon_parser.cpp index 6c1382d..63ffec7 100644 --- a/src/MoonP/moon_parser.cpp +++ b/src/MoonP/moon_parser.cpp | |||
@@ -412,7 +412,8 @@ MoonParser::MoonParser() { | |||
412 | FnArgs | | 412 | FnArgs | |
413 | SingleString | | 413 | SingleString | |
414 | DoubleString | | 414 | DoubleString | |
415 | and_(expr('[')) >> LuaString); | 415 | and_(expr('[')) >> LuaString | |
416 | and_(expr('{')) >> TableLit); | ||
416 | 417 | ||
417 | TableValue = KeyValue | Exp; | 418 | TableValue = KeyValue | Exp; |
418 | 419 | ||