[#1320] [MethodIndex] Bug and question — keiju@... (Keiju ISHITSUKA)

けいじゅ@日本ラショナルソフトウェアです.

32 messages 1998/01/23
[#1321] Re: [MethodIndex] Bug and question — matz@... (Yukihiro Matsumoto) 1998/01/23

まつもと ゆきひろです

[#1323] Re: [MethodIndex] Bug and question — keiju@... (Keiju ISHITSUKA) 1998/01/23

けいじゅ@日本ラショナルソフトウェアです.

[#1332] Re: [MethodIndex] Bug and question — keiju@... (Keiju ISHITSUKA) 1998/01/27

けいじゅ@日本ラショナルソフトウェアです.

[#1333] Re: [MethodIndex] Bug and question — matz@... (Yukihiro Matsumoto) 1998/01/27

まつもと ゆきひろです

[#1334] Re: [MethodIndex] Bug and question — keiju@... (石塚圭樹 ) 1998/01/27

けいじゅ@日本ラショナルソフトウェアです.

[#1351] Re: [MethodIndex] Bug and question — keiju@... (石塚圭樹 ) 1998/01/29

けいじゅ@日本ラショナルソフトウェアです.

[#1353] Re: [MethodIndex] Bug and question — matz@... (Yukihiro Matsumoto) 1998/01/29

まつもと ゆきひろです

[#1354] Re: [MethodIndex] Bug and question — keiju@... (石塚圭樹 ) 1998/01/29

けいじゅ@日本ラショナルソフトウェアです.

[#1355] Re: [MethodIndex] Bug and question — matz@... (Yukihiro Matsumoto) 1998/01/30

まつもと ゆきひろです

[ruby-dev:1188] source line number(=begin)

From: WATANABE Hirofumi <eban@...>
Date: 1998-01-04 05:25:17 UTC
List: ruby-dev #1188
わたなべです.

=begin, =end で行番号がずれます.

--- parse.y.orig	Mon Dec 22 23:09:32 1997
+++ parse.y	Sun Jan  4 02:32:54 1998
@@ -2198,2 +2198,3 @@
 	    if (strncmp(lex_p, "begin", 5) == 0 && isspace(lex_p[5])) {
+		sourceline++;
 		lex_p = lex_pend;
@@ -2203,5 +2204,8 @@
 		    if (c != '\n') continue;
+		    sourceline++;
 		    c = nextc();
+		    if (c == '\n') sourceline++;
 		    if (c != '=') continue;
 		    if (strncmp(lex_p, "end", 3) == 0 && isspace(lex_p[3])) {
+			sourceline++;
 			lex_p = lex_pend;

In This Thread

Prev Next