Skip to content

Commit

Permalink
XS: #484
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Soquet committed Nov 3, 2020
1 parent d9b19e1 commit 0cdcff0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xs/sources/xsRegExp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1079,11 +1079,13 @@ void fx_RegExp_prototype_toString(txMachine* the)
fxStringX(the, mxResult, "/");
mxPushSlot(mxThis);
fxGetID(the, mxID(_source));
fxToString(the, the->stack);
fxConcatString(the, mxResult, the->stack);
the->stack++;
fxConcatStringC(the, mxResult, "/");
mxPushSlot(mxThis);
fxGetID(the, mxID(_flags));
fxToString(the, the->stack);
fxConcatString(the, mxResult, the->stack);
the->stack++;
#endif
Expand Down

0 comments on commit 0cdcff0

Please sign in to comment.