Browse Source

extmod/re1.5: Workaround issue with mingw32-gcc 4.2.1.

pull/1571/head
Paul Sokolovsky 9 years ago
parent
commit
d0601b0a1f
  1. 2
      extmod/re1.5/compilecode.c

2
extmod/re1.5/compilecode.c

@ -65,7 +65,7 @@ static const char *_compilecode(const char *re, ByteProg *prog, int sizecode)
} }
case '(': { case '(': {
term = PC; term = PC;
int sub; int sub = 0;
int capture = re[1] != '?' || re[2] != ':'; int capture = re[1] != '?' || re[2] != ':';
if (capture) { if (capture) {

Loading…
Cancel
Save