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

ruby-changes:2615

From: ko1@a...
Date: 5 Dec 2007 14:26:30 +0900
Subject: [ruby-changes:2615] ko1 - Ruby:r14106 (trunk): * compile.c (iseq_compile_each): fix typo.

ko1	2007-12-05 14:25:58 +0900 (Wed, 05 Dec 2007)

  New Revision: 14106

  Modified files:
    trunk/ChangeLog
    trunk/compile.c

  Log:
    * compile.c (iseq_compile_each): fix typo.
    


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/compile.c?r1=14106&r2=14105
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14106&r2=14105

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 14105)
+++ ChangeLog	(revision 14106)
@@ -1,3 +1,7 @@
+Wed Dec  5 14:25:11 2007  Koichi Sasada  <ko1@a...>
+
+	* compile.c (iseq_compile_each): fix typo.
+
 Wed Dec  5 13:41:25 2007  Nobuyoshi Nakada  <nobu@r...>
 
 	* parse.y (yycompile): get rid of tracing while parsing.
Index: compile.c
===================================================================
--- compile.c	(revision 14105)
+++ compile.c	(revision 14106)
@@ -3338,7 +3338,7 @@
 	      ADD_SEQ(ret, args);
 	  }
 	  else {
-	      argc = FIX2INT(0);
+	      argc = INT2FIX(0);
 	  }
 	  ADD_INSN1(ret, nd_line(node), dupn, INT2FIX(FIX2INT(argc)+1));
 	  ADD_SEND_R(ret, nd_line(node), ID2SYM(idAREF), argc, Qfalse, LONG2FIX(flag));

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

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