From: K.Kosako Date: Thu, 14 Feb 2019 08:49:47 +0000 (+0900) Subject: fix compile error when USE_THREADED_CODE is disabled X-Git-Tag: v6.9.2_rc1~65^2~54 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=52b3757fc5a39d09e415c1a3e9d509d50b6621d0;p=onig fix compile error when USE_THREADED_CODE is disabled --- diff --git a/src/regexec.c b/src/regexec.c index 7c7a5a9..2a60f64 100644 --- a/src/regexec.c +++ b/src/regexec.c @@ -2388,7 +2388,7 @@ typedef struct { while (1) {\ MATCH_DEBUG_OUT(0)\ sbegin = s;\ - switch (*p++) { + switch (p->opcode) { #define BYTECODE_INTERPRETER_END } sprev = sbegin; } #define CASE_OP(x) case OP_##x: SOP_IN(OP_##x); #define DEFAULT_OP default: