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

ruby-changes:2897

From: ko1@a...
Date: 21 Dec 2007 12:27:53 +0900
Subject: [ruby-changes:2897] ko1 - Ruby:r14388 (trunk): * compile.c: remove "illegal".

ko1	2007-12-21 12:27:31 +0900 (Fri, 21 Dec 2007)

  New Revision: 14388

  Modified files:
    trunk/ChangeLog
    trunk/compile.c

  Log:
    * compile.c: remove "illegal".
    


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

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 14387)
+++ ChangeLog	(revision 14388)
@@ -1,3 +1,7 @@
+Fri Dec 21 12:26:36 2007  Koichi Sasada  <ko1@a...>
+
+	* compile.c: remove "illegal".
+
 Fri Dec 21 12:22:20 2007  Nobuyoshi Nakada  <nobu@r...>
 
 	* keywords, parse.y (__ENCODING__): represent script encoding.
Index: compile.c
===================================================================
--- compile.c	(revision 14387)
+++ compile.c	(revision 14388)
@@ -2966,7 +2966,7 @@
 		}
 		ip = ip->parent_iseq;
 	    }
-	    COMPILE_ERROR((ERROR_ARGS "Illegal break"));
+	    COMPILE_ERROR((ERROR_ARGS "Invalid break"));
 	}
 	break;
       }
@@ -3020,7 +3020,7 @@
 		}
 	    }
 	    else {
-		COMPILE_ERROR((ERROR_ARGS "Illegal next"));
+		COMPILE_ERROR((ERROR_ARGS "Invalid next"));
 	    }
 	}
 	break;
@@ -3081,7 +3081,7 @@
 		}
 	    }
 	    else {
-		COMPILE_ERROR((ERROR_ARGS "Illegal redo"));
+		COMPILE_ERROR((ERROR_ARGS "Invalid redo"));
 	    }
 	}
 	break;
@@ -3093,7 +3093,7 @@
 		      INT2FIX(0x04) /* TAG_RETRY */ );
 	}
 	else {
-	    COMPILE_ERROR((ERROR_ARGS "Illegal retry"));
+	    COMPILE_ERROR((ERROR_ARGS "Invalid retry"));
 	}
 	break;
       }
@@ -3788,7 +3788,7 @@
 
 	while (is) {
 	    if (is->type == ISEQ_TYPE_TOP || is->type == ISEQ_TYPE_CLASS) {
-		COMPILE_ERROR((ERROR_ARGS "Illegal return"));
+		COMPILE_ERROR((ERROR_ARGS "Invalid return"));
 		break;
 	    }
 	    else {
@@ -3820,7 +3820,7 @@
 
 	INIT_ANCHOR(args);
 	if (iseq->type == ISEQ_TYPE_TOP || iseq->type == ISEQ_TYPE_CLASS) {
-	    COMPILE_ERROR((ERROR_ARGS "Illegal yield"));
+	    COMPILE_ERROR((ERROR_ARGS "Invalid yield"));
 	}
 
 	if (node->nd_head) {

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

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