[前][次][番号順一覧][スレッド一覧]

ruby-changes:44259

From: naruse <ko1@a...>
Date: Tue, 4 Oct 2016 06:06:57 +0900 (JST)
Subject: [ruby-changes:44259] naruse:r56333 (trunk): * regcomp.c (onig_print_compiled_byte_code): make the shown address

naruse	2016-10-04 06:06:50 +0900 (Tue, 04 Oct 2016)

  New Revision: 56333

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56333

  Log:
    * regcomp.c (onig_print_compiled_byte_code): make the shown address
      look relative.

  Modified files:
    trunk/ChangeLog
    trunk/regcomp.c
Index: regcomp.c
===================================================================
--- regcomp.c	(revision 56332)
+++ regcomp.c	(revision 56333)
@@ -6318,7 +6318,7 @@ onig_print_compiled_byte_code(FILE* f, U https://github.com/ruby/ruby/blob/trunk/regcomp.c#L6318
       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);
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 56332)
+++ ChangeLog	(revision 56333)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Oct  4 06:05:46 2016  NARUSE, Yui  <naruse@r...>
+
+	* regcomp.c (onig_print_compiled_byte_code): make the shown address
+	  look relative.
+
 Tue Oct  4 05:53:11 2016  NARUSE, Yui  <naruse@r...>
 
 	* regexec.c (OPCODE_EXEC_HOOK): op is p-1 because p is already

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]