From 17f0e4476bc6da2cbbc28f092ca847600f00a105 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Fri, 17 Mar 2023 21:58:13 +1100 Subject: [PATCH] Caught a bug that the test cases failed to find --- source/toy_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/toy_parser.c b/source/toy_parser.c index a1a7d77..193769e 100644 --- a/source/toy_parser.c +++ b/source/toy_parser.c @@ -658,7 +658,7 @@ static Toy_Opcode castingInfix(Toy_Parser* parser, Toy_ASTNode** nodeHandle) { break; case TOY_TOKEN_LITERAL_STRING: - atomic(parser, nodeHandle); + string(parser, nodeHandle); break; default: