diff options
| author | Li Jin <dragon-fly@qq.com> | 2020-01-28 00:41:53 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2020-01-28 01:10:31 +0800 |
| commit | fb47c11bd942c83317f1f9a2e255535649401cbf (patch) | |
| tree | 3fb35b9b23911a37c4e4499cf650792ba2b8b21c /src/MoonP/moon_ast.cpp | |
| parent | 27717564cb1ab72c88c10a8392b6795ddea7a0ef (diff) | |
| download | yuescript-fb47c11bd942c83317f1f9a2e255535649401cbf.tar.gz yuescript-fb47c11bd942c83317f1f9a2e255535649401cbf.tar.bz2 yuescript-fb47c11bd942c83317f1f9a2e255535649401cbf.zip | |
Add multi-line comment support. Add escape new line symbol. Add back call syntax.
Diffstat (limited to 'src/MoonP/moon_ast.cpp')
| -rw-r--r-- | src/MoonP/moon_ast.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/MoonP/moon_ast.cpp b/src/MoonP/moon_ast.cpp index 8b8a674..f14fa74 100644 --- a/src/MoonP/moon_ast.cpp +++ b/src/MoonP/moon_ast.cpp | |||
| @@ -34,6 +34,7 @@ AST_IMPL(ImportLiteral) | |||
| 34 | AST_IMPL(ImportFrom) | 34 | AST_IMPL(ImportFrom) |
| 35 | AST_IMPL(ImportAs) | 35 | AST_IMPL(ImportAs) |
| 36 | AST_IMPL(Import) | 36 | AST_IMPL(Import) |
| 37 | AST_IMPL(Backcall) | ||
| 37 | AST_IMPL(ExpListLow) | 38 | AST_IMPL(ExpListLow) |
| 38 | AST_IMPL(ExpList) | 39 | AST_IMPL(ExpList) |
| 39 | AST_IMPL(Return) | 40 | AST_IMPL(Return) |
| @@ -59,6 +60,7 @@ AST_IMPL(Assign) | |||
| 59 | AST_IMPL(update_op) | 60 | AST_IMPL(update_op) |
| 60 | AST_IMPL(Update) | 61 | AST_IMPL(Update) |
| 61 | AST_IMPL(BinaryOperator) | 62 | AST_IMPL(BinaryOperator) |
| 63 | AST_IMPL(BackcallOperator) | ||
| 62 | AST_IMPL(Assignable) | 64 | AST_IMPL(Assignable) |
| 63 | AST_IMPL(AssignableChain) | 65 | AST_IMPL(AssignableChain) |
| 64 | AST_IMPL(exp_op_value) | 66 | AST_IMPL(exp_op_value) |
