diff options
| author | Li Jin <dragon-fly@qq.com> | 2026-07-24 18:03:18 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2026-07-24 18:03:18 +0800 |
| commit | 3c5cbf6fc9ddff95798b9853ccb74607a9a6783d (patch) | |
| tree | 356e9f0103d03613a64bcf300818c51367c7066d | |
| parent | 7aa3ed1f19748cfaf6c528819741be2107d412e0 (diff) | |
| download | yuescript-0.34.2.tar.gz yuescript-0.34.2.tar.bz2 yuescript-0.34.2.zip | |
Updated version.v0.34.2
| -rw-r--r-- | src/yuescript/yue_compiler.cpp | 2 | ||||
| -rw-r--r-- | src/yuescript/yue_parser.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/yuescript/yue_compiler.cpp b/src/yuescript/yue_compiler.cpp index 72ae001..b87ac0b 100644 --- a/src/yuescript/yue_compiler.cpp +++ b/src/yuescript/yue_compiler.cpp | |||
| @@ -78,7 +78,7 @@ static std::unordered_set<std::string> Metamethods = { | |||
| 78 | "close"s // Lua 5.4 | 78 | "close"s // Lua 5.4 |
| 79 | }; | 79 | }; |
| 80 | 80 | ||
| 81 | const std::string_view version = "0.34.1"sv; | 81 | const std::string_view version = "0.34.2"sv; |
| 82 | const std::string_view extension = "yue"sv; | 82 | const std::string_view extension = "yue"sv; |
| 83 | 83 | ||
| 84 | class CompileError : public std::logic_error { | 84 | class CompileError : public std::logic_error { |
diff --git a/src/yuescript/yue_parser.h b/src/yuescript/yue_parser.h index f122b59..b3a7944 100644 --- a/src/yuescript/yue_parser.h +++ b/src/yuescript/yue_parser.h | |||
| @@ -323,6 +323,7 @@ private: | |||
| 323 | NONE_AST_RULE(shebang); | 323 | NONE_AST_RULE(shebang); |
| 324 | NONE_AST_RULE(is_lax); | 324 | NONE_AST_RULE(is_lax); |
| 325 | NONE_AST_RULE(lax_line); | 325 | NONE_AST_RULE(lax_line); |
| 326 | NONE_AST_RULE(simple_value_fallback); | ||
| 326 | 327 | ||
| 327 | AST_RULE(Num); | 328 | AST_RULE(Num); |
| 328 | AST_RULE(Name); | 329 | AST_RULE(Name); |
| @@ -405,7 +406,6 @@ private: | |||
| 405 | AST_RULE(ChainValue); | 406 | AST_RULE(ChainValue); |
| 406 | AST_RULE(SimpleTable); | 407 | AST_RULE(SimpleTable); |
| 407 | AST_RULE(SimpleValue); | 408 | AST_RULE(SimpleValue); |
| 408 | NONE_AST_RULE(simple_value_fallback); | ||
| 409 | AST_RULE(Value); | 409 | AST_RULE(Value); |
| 410 | AST_RULE(LuaStringOpen); | 410 | AST_RULE(LuaStringOpen); |
| 411 | AST_RULE(LuaStringContent); | 411 | AST_RULE(LuaStringContent); |
