summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--parse.y2
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f70e88cfb3..70233ab90b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Jul 14 01:09:46 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
+
+ * parse.y (then): error in warning action.
+
Fri Jul 14 00:10:15 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
* array.c (rb_ary_pop): may cause realloc oscillation. a patch
diff --git a/parse.y b/parse.y
index d0a106b5f8..85f054b7b2 100644
--- a/parse.y
+++ b/parse.y
@@ -1733,8 +1733,6 @@ then : term
| ':'
{
rb_warn("colon will be obsoleted; use semicolon");
- value_expr($1);
- $$ = $1;
}
| kTHEN
| term kTHEN