修改了脚本执行的一些BUG。

This commit is contained in:
fengjiayi
2024-12-21 20:47:31 +08:00
parent 6e864a9ae4
commit 0f9c9b9988
19 changed files with 451 additions and 191 deletions

View File

@@ -27,6 +27,10 @@ namespace Serein.Script
/// </summary>
String,
/// <summary>
/// 插值字符串
/// </summary>
InterpolatedString,
/// <summary>
/// 关键字
/// </summary>
Keyword,
@@ -273,6 +277,9 @@ namespace Serein.Script
}
case '.':
return CreateToken(TokenType.Dot, ".");
//case '$':
// return CreateToken(TokenType.InterpolatedString, "$");
}
throw new Exception("Unexpected character: " + currentChar);