🐐 ERVMPE builtin case removed

This commit is contained in:
2026-05-30 18:07:39 +02:00
parent 19f8cb5232
commit 1d6a93be32
3 changed files with 2 additions and 8 deletions
-3
View File
@@ -1466,9 +1466,6 @@ class BuiltIn(Node):
)
print(print_string)
return vtable, ValStr(print_string)
case "ERVMPE":
vtable["#break"] = True
return vtable, ValNul()
case "FORTVITVS_NVMERVS":
if "FORS" not in vtable["#modules"]:
raise CentvrionError("Cannot use 'FORTVITVS_NVMERVS' without module 'FORS'")
-5
View File
@@ -310,11 +310,6 @@ def _emit_builtin(node, ctx):
else:
lines.append(f"CentValue {tmp} = cent_senatus(NULL, 0);")
case "ERVMPE":
# break as expression (side-effecting; result is unused)
lines.append("break;")
lines.append(f"CentValue {tmp} = cent_null();")
case "CLAVES":
lines.append(f"CentValue {tmp} = cent_dict_keys({param_vars[0]});")