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

ruby-changes:1959

From: ko1@a...
Date: 15 Sep 2007 23:36:49 +0900
Subject: [ruby-changes:1959] nobu - Ruby:r13450 (trunk): * parse.y (struct parser_params): common members in the parser and

nobu	2007-09-15 23:36:33 +0900 (Sat, 15 Sep 2007)

  New Revision: 13450

  Modified files:
    trunk/ChangeLog
    trunk/parse.y

  Log:
    * parse.y (struct parser_params): common members in the parser and
      ripper must be placed at each same location.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/parse.y?r1=13450&r2=13449
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=13450&r2=13449

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 13449)
+++ ChangeLog	(revision 13450)
@@ -1,3 +1,8 @@
+Sat Sep 15 23:36:31 2007  Nobuyoshi Nakada  <nobu@r...>
+
+	* parse.y (struct parser_params): common members in the parser and
+	  ripper must be placed at each same location.
+
 Sat Sep 15 18:25:15 2007  Kouhei Sutou  <kou@c...>
 
 	* string.c (rb_str_rstrip_bang): fixed too much rstrip. [ruby-dev:31786]
Index: parse.y
===================================================================
--- parse.y	(revision 13449)
+++ parse.y	(revision 13450)
@@ -236,6 +236,7 @@
     int line_count;
     int has_shebang;
     int parser_ruby_sourceline;	/* current line no. */
+    rb_encoding *enc;
 
 #ifndef RIPPER
     /* Ruby core only */
@@ -257,8 +258,6 @@
     VALUE parsing_thread;
     int toplevel_p;
 #endif
-
-    rb_encoding *enc;
 };
 
 #define STR_NEW(p,n) rb_enc_str_new((p),(n),parser->enc)

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

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