diff --git a/ChangeLog b/ChangeLog index 72bbd92306..8c5710d89d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Aug 28 05:02:52 2003 Yukihiro Matsumoto + + * parse.y (singleton): typo fixed (ruby-bugs-ja PR#562) + Thu Aug 28 02:37:45 2003 Yukihiro Matsumoto * eval.c (rb_eval): *a = [1,2] now assigns [[1,2]] to a. diff --git a/parse.y b/parse.y index c292709f2a..5fd8fcc8c5 100644 --- a/parse.y +++ b/parse.y @@ -2327,7 +2327,7 @@ singleton : var_ref | '(' {lex_state = EXPR_BEG;} expr opt_nl ')' { if ($3 == 0) { - yyerror("can't define single method for ()."); + yyerror("can't define singleton method for ()."); } else { switch (nd_type($3)) { @@ -2339,7 +2339,7 @@ singleton : var_ref case NODE_LIT: case NODE_ARRAY: case NODE_ZARRAY: - yyerror("can't define single method for literals"); + yyerror("can't define singleton method for literals"); default: value_expr($3); break; diff --git a/version.h b/version.h index b3247de750..510335a644 100644 --- a/version.h +++ b/version.h @@ -1,11 +1,11 @@ #define RUBY_VERSION "1.8.0" -#define RUBY_RELEASE_DATE "2003-08-27" +#define RUBY_RELEASE_DATE "2003-08-28" #define RUBY_VERSION_CODE 180 -#define RUBY_RELEASE_CODE 20030827 +#define RUBY_RELEASE_CODE 20030828 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 #define RUBY_VERSION_TEENY 0 #define RUBY_RELEASE_YEAR 2003 #define RUBY_RELEASE_MONTH 8 -#define RUBY_RELEASE_DAY 27 +#define RUBY_RELEASE_DAY 28