Eliminate non-standard $lower_param typemap variable

This commit is contained in:
Olly Betts 2021-04-13 10:03:03 +12:00
commit 60e7deda2c
2 changed files with 2 additions and 7 deletions

View file

@ -1388,7 +1388,6 @@ public:
String *temp_obj = NewStringEmpty();
Printf(temp_obj, "&%s", ln);
Replaceall(tm, "$obj_value", is_param_type_pointer(resolved ? resolved : pt) ? "NULL" : temp_obj); // Adding this to compile. It won't reach this if $obj_val is required.
Replaceall(tm, "$lower_param", paramType_class);
Setattr(p, "emit:input", source);
Printf(f->code, "%s\n", tm);
if (i == 0 && Getattr(p, "self")) {