fixed some scope issues and added label and line reference support to the AST

This commit is contained in:
SpookyDervish
2025-09-01 07:01:30 +10:00
parent eee9325ab8
commit 62e95a24ed
2 changed files with 36 additions and 7 deletions

View File

@@ -5,8 +5,8 @@ fun -list !split -string &str -string &determiner
set &x 2
set &y 5
add $x $y &x
stdlnout $x
return $x
endfun
# should error
stdlnout $x
@myLabel
jump %myLabel