Skip to content

Commit 0eea302

Browse files
committed
Fix underscore bug in nqp_radix opcode.
1 parent 30ed7ec commit 0eea302

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ops/nqp.ops

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1320,6 +1320,7 @@ inline op nqp_radix(out PMC, in INT, in STR, in INT, in INT) :base_core {
13201320
if (zpos >= chars) break;
13211321
ch = STRING_ord(interp, str, zpos);
13221322
if (ch != '_') continue;
1323+
zpos++;
13231324
if (zpos >= chars) break;
13241325
ch = STRING_ord(interp, str, zpos);
13251326
}

0 commit comments

Comments
 (0)