🐐 ERVMPE builtin case removed
This commit is contained in:
@@ -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'")
|
||||
|
||||
@@ -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]});")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user