mirror of
https://github.com/artegoser/ONLang
synced 2025-02-20 19:23:14 +03:00
feat: scopes of visibility, delete variable
now, after exiting the scope (loop, if), all the variables that were in it are deleted
This commit is contained in:
parent
fdd7e2abc8
commit
9da82cde2a
4 changed files with 80 additions and 20 deletions
|
@ -179,7 +179,6 @@
|
|||
body: ["break"],
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
assign: {
|
||||
num: { calc: [{ var: "num" }, "+", 1] },
|
||||
|
|
Loading…
Add table
Reference in a new issue