1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-28 00:59:31 +00:00

Prevent from restarting interpreter after return or error

This commit is contained in:
Étienne Fildadut 2021-06-05 22:38:02 +02:00
parent c847fefd39
commit 633f7b2d61
3 changed files with 17 additions and 5 deletions

View file

@ -125,6 +125,7 @@ functions = {
end
},
-- alias
-- TODO: directly change global state, should new aliases be kept in case of interpreter error before a merge?
["alias(identifier::string, alias::string)"] = {
value = function(identifier, alias)
-- check identifiers