fix: clear first AST node if got error inside parse_program

This commit is contained in:
samsonium
2026-10-28 19:37:17 +03:00
parent e11089c90f
commit d93c315359
4 changed files with 50 additions and 50 deletions
@@ -0,0 +1,2 @@
printline($"Something's on the {way}")
@@ -0,0 +1 @@
$"jopa {abc}
+6
View File
@@ -0,0 +1,6 @@
int a1 = 2 * 2;
printline($"First tests: build string and print. 2 * 2 = {a1}");
str a2 = "Mike Tyson";
printline($"Hello, {a2}");