All symbols to start a custom syntax.

This commit is contained in:
Stephen Chung
2023-02-20 13:28:17 +08:00
parent 426055d4d3
commit 00f2b07d38
5 changed files with 73 additions and 13 deletions

View File

@@ -3792,7 +3792,7 @@ impl Engine {
(.., pos) => {
return Err(PERR::MissingToken(
Token::Pipe.into(),
"to close the parameters list of anonymous function".into(),
"to close the parameters list of anonymous function or closure".into(),
)
.into_err(pos))
}