Ruby fix unbalanced braces causing issue with the YARD parser

This commit is contained in:
Aurelien Jacobs 2016-01-09 21:14:59 +01:00
commit 982b14370f

View file

@ -1744,6 +1744,9 @@ public:
Printf(f->def, "#else\n");
Printv(f->def, "SWIGINTERN VALUE\n", wname, "(int argc, VALUE *argv, VALUE self) {", NIL);
Printf(f->def, "#endif\n");
Printf(f->def, "#if 0\n");
Printf(f->def, "} /* c-mode */\n");
Printf(f->def, "#endif\n");
} else if (current == CONSTRUCTOR_INITIALIZE) {
Printv(f->def, "SWIGINTERN VALUE\n", wname, "(int argc, VALUE *argv, VALUE self) {", NIL);
if (!varargs) {