summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-03 21:06:50 (GMT)
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-03 21:06:50 (GMT)
commit5d9b95a5c742e12e853418f5ce75bccaf25a98cf (patch)
tree9477a56f0dd5963d975037e7659c9ca939d9cbd6 /regcomp.c
parente342418e465844a38546ebc7d69e23405dc9eb42 (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
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regcomp.c b/regcomp.c
index 869299c..4364beb 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -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);