diff options
author | Li Jin <dragon-fly@qq.com> | 2023-08-07 11:39:59 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2023-08-07 11:39:59 +0800 |
commit | 878111166eb4cfe4ddbc05f60e797ee16356e71a (patch) | |
tree | 3878dc2ea8b565374605540b3bd6cd2a31e12517 | |
parent | c9b70274787ed8a77e7b47c4628197f0c6c1ba30 (diff) | |
download | yuescript-878111166eb4cfe4ddbc05f60e797ee16356e71a.tar.gz yuescript-878111166eb4cfe4ddbc05f60e797ee16356e71a.tar.bz2 yuescript-878111166eb4cfe4ddbc05f60e797ee16356e71a.zip |
fix typo.
-rw-r--r-- | src/yuescript/yue_compiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuescript/yue_compiler.cpp b/src/yuescript/yue_compiler.cpp index a6f74de..9384214 100644 --- a/src/yuescript/yue_compiler.cpp +++ b/src/yuescript/yue_compiler.cpp | |||
@@ -5411,7 +5411,7 @@ private: | |||
5411 | BREAK_IF(!simpleValue); | 5411 | BREAK_IF(!simpleValue); |
5412 | auto varArg = simpleValue->value.as<VarArg_t>(); | 5412 | auto varArg = simpleValue->value.as<VarArg_t>(); |
5413 | BREAK_IF(!varArg); | 5413 | BREAK_IF(!varArg); |
5414 | throw CompileError("can not use variant arguments assignment statement in macro"sv, x); | 5414 | throw CompileError("can not use variadic arguments assignment statement in macro"sv, x); |
5415 | BLOCK_END | 5415 | BLOCK_END |
5416 | } | 5416 | } |
5417 | } | 5417 | } |