diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-03 21:06:50 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-03 21:06:50 +0000 |
commit | 5d9b95a5c742e12e853418f5ce75bccaf25a98cf (patch) | |
tree | 9477a56f0dd5963d975037e7659c9ca939d9cbd6 | |
parent | e342418e465844a38546ebc7d69e23405dc9eb42 (diff) |
* regcomp.c (onig_print_compiled_byte_code): make the shown address
look relative.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | regcomp.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Tue Oct 4 06:05:46 2016 NARUSE, Yui <naruse@ruby-lang.org> + + * regcomp.c (onig_print_compiled_byte_code): make the shown address + look relative. + Tue Oct 4 05:53:11 2016 NARUSE, Yui <naruse@ruby-lang.org> * regexec.c (OPCODE_EXEC_HOOK): op is p-1 because p is already @@ -6318,7 +6318,7 @@ onig_print_compiled_byte_code(FILE* f, UChar* bp, UChar* bpend, UChar** nextp, break; case ARG_RELADDR: GET_RELADDR_INC(addr, bp); - fprintf(f, ":(%d)", addr); + fprintf(f, ":(+%d)", addr); break; case ARG_ABSADDR: GET_ABSADDR_INC(addr, bp); |