From 166dc3664be01ee91799c387705416a85f169444 Mon Sep 17 00:00:00 2001 From: HumanoidSandvichDispenser Date: Tue, 26 Sep 2023 10:25:55 -0700 Subject: [PATCH] fix node paths not being quoted --- Debug/Transpiler/LiteralExpression.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Debug/Transpiler/LiteralExpression.cs b/Debug/Transpiler/LiteralExpression.cs index 08a8283..b9d9970 100644 --- a/Debug/Transpiler/LiteralExpression.cs +++ b/Debug/Transpiler/LiteralExpression.cs @@ -17,7 +17,7 @@ public class LiteralExpression : Expression if (Literal.Type == TokenType.NodePath) { var val = Regex.Escape(Literal.Value); - return $"from.call({val})"; + return $"from.call(\"{val}\")"; } else if (Literal.Type == TokenType.String) {