Skip to content

Commit d580416

Browse files
committed
fixed some missing semicolons. Each one caused a compile error in generated code
1 parent ae0efd3 commit d580416

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Lib/r/rtype.swg

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,20 +94,20 @@
9494
%{ $input = enumToInteger($input, "$R_class"); %}
9595

9696
%typemap(scoercein) SWIGTYPE, SWIGTYPE *, SWIGTYPE *const, SWIGTYPE &, SWIGTYPE &&
97-
%{ if (inherits($input, "ExternalReference")) $input = slot($input,"ref") %}
97+
%{ if (inherits($input, "ExternalReference")) $input = slot($input,"ref"); %}
9898

9999
/*
100100
%typemap(scoercein) SWIGTYPE *, SWIGTYPE *const
101-
%{ $input = coerceIfNotSubclass($input, "$R_class") %}
101+
%{ $input = coerceIfNotSubclass($input, "$R_class"); %}
102102

103103
%typemap(scoercein) SWIGTYPE &
104-
%{ $input = coerceIfNotSubclass($input, "$R_class") %}
104+
%{ $input = coerceIfNotSubclass($input, "$R_class"); %}
105105

106106
%typemap(scoercein) SWIGTYPE &&
107-
%{ $input = coerceIfNotSubclass($input, "$R_class") %}
107+
%{ $input = coerceIfNotSubclass($input, "$R_class"); %}
108108

109109
%typemap(scoercein) SWIGTYPE
110-
%{ $input = coerceIfNotSubclass($input, "$&R_class") %}
110+
%{ $input = coerceIfNotSubclass($input, "$&R_class"); %}
111111
*/
112112

113113
%typemap(scoercein) SWIGTYPE[ANY]

Source/Modules/r.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2120,7 +2120,7 @@ int R::functionWrapper(Node *n) {
21202120
{
21212121
String *finalizer = NewString(iname);
21222122
Replace(finalizer, "new_", "", DOH_REPLACE_FIRST);
2123-
Printf(sfun->code, "reg.finalizer(ans@ref, delete_%s)\n", finalizer);
2123+
Printf(sfun->code, "reg.finalizer(ans@ref, delete_%s);\n", finalizer);
21242124
}
21252125
Printf(sfun->code, "ans\n");
21262126
}

0 commit comments

Comments
 (0)