summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-21 03:27:31 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-21 03:27:31 +0000
commitf02b06802767fd77e1c2bc546b217dedb71efb91 (patch)
tree2f970f3af82a9f4da96328d3f323ba04fe9c8936
parentb317ac7ecdcac8be9cf436add16f4b4033070824 (diff)
downloadruby-f02b06802767fd77e1c2bc546b217dedb71efb91.tar.gz
ruby-f02b06802767fd77e1c2bc546b217dedb71efb91.tar.xz
ruby-f02b06802767fd77e1c2bc546b217dedb71efb91.zip
* compile.c: remove "illegal".
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--compile.c12
2 files changed, 10 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index f2f4d50af..1051ebde2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Dec 21 12:26:36 2007 Koichi Sasada <ko1@atdot.net>
+
+ * compile.c: remove "illegal".
+
Fri Dec 21 12:22:20 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* keywords, parse.y (__ENCODING__): represent script encoding.
diff --git a/compile.c b/compile.c
index 046c68a7f..b17eb253f 100644
--- a/compile.c
+++ b/compile.c
@@ -2966,7 +2966,7 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_ANCHOR *ret, NODE * node, int poped)
}
ip = ip->parent_iseq;
}
- COMPILE_ERROR((ERROR_ARGS "Illegal break"));
+ COMPILE_ERROR((ERROR_ARGS "Invalid break"));
}
break;
}
@@ -3020,7 +3020,7 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_ANCHOR *ret, NODE * node, int poped)
}
}
else {
- COMPILE_ERROR((ERROR_ARGS "Illegal next"));
+ COMPILE_ERROR((ERROR_ARGS "Invalid next"));
}
}
break;
@@ -3081,7 +3081,7 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_ANCHOR *ret, NODE * node, int poped)
}
}
else {
- COMPILE_ERROR((ERROR_ARGS "Illegal redo"));
+ COMPILE_ERROR((ERROR_ARGS "Invalid redo"));
}
}
break;
@@ -3093,7 +3093,7 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_ANCHOR *ret, NODE * node, int poped)
INT2FIX(0x04) /* TAG_RETRY */ );
}
else {
- COMPILE_ERROR((ERROR_ARGS "Illegal retry"));
+ COMPILE_ERROR((ERROR_ARGS "Invalid retry"));
}
break;
}
@@ -3788,7 +3788,7 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_ANCHOR *ret, NODE * node, int poped)
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 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_ANCHOR *ret, NODE * node, int poped)
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) {