Ruby fix unbalanced braces causing issue with the YARD parser
This commit is contained in:
parent
c6519f7c1a
commit
982b14370f
1 changed files with 3 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue