diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-24 02:10:09 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-24 02:10:09 +0000 |
commit | 84f4550341264fb202c2d419936246347857d5e5 (patch) | |
tree | 3bd6ffebb88532afb6af0f7a339de3dc0f6a18d5 | |
parent | cc0ffc55172245554b472022a5d6f32bffb6b289 (diff) |
regexec.c: constify
* regexec.c (match_at): constify oplabels.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | regexec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1372,7 +1372,7 @@ match_at(regex_t* reg, const UChar* str, const UChar* end, #define NEXT sprev = sbegin; JUMP #define JUMP goto *oplabels[*p++] - static void *oplabels[] = { + static const void *oplabels[] = { &&L_OP_FINISH, /* matching process terminator (no more alternative) */ &&L_OP_END, /* pattern code terminator (success end) */ |