File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change
1
+ Thu Aug 16 04:08:20 2007 Shugo Maeda <shugo@ruby-lang.org>
2
+
3
+ * lib/net/imap.rb (ResponseParser#next_token): fixed
4
+ error message. (backported from HEAD)
5
+
6
+ * lib/net/imap.rb (ResponseParser#parse_error): fixed
7
+ the condition not to refer @token.symbol unexpectedly.
8
+ Thanks, Dick Monahan. (backported from HEAD)
9
+
1
10
Thu Aug 16 04:05:20 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
2
11
3
12
* marshal.c (w_extended): erroneous check condition when dump
Original file line number Diff line number Diff line change @@ -3046,7 +3046,7 @@ def next_token
3046
3046
elsif $7
3047
3047
return Token . new ( T_RPAR , $+)
3048
3048
else
3049
- parse_error ( "[Net::IMAP BUG] BEG_REGEXP is invalid" )
3049
+ parse_error ( "[Net::IMAP BUG] DATA_REGEXP is invalid" )
3050
3050
end
3051
3051
else
3052
3052
@str . index ( /\S */n , @pos )
@@ -3100,7 +3100,7 @@ def parse_error(fmt, *args)
3100
3100
$stderr. printf ( "@str: %s\n " , @str . dump )
3101
3101
$stderr. printf ( "@pos: %d\n " , @pos )
3102
3102
$stderr. printf ( "@lex_state: %s\n " , @lex_state )
3103
- if @token . symbol
3103
+ if @token
3104
3104
$stderr. printf ( "@token.symbol: %s\n " , @token . symbol )
3105
3105
$stderr. printf ( "@token.value: %s\n " , @token . value . inspect )
3106
3106
end
Original file line number Diff line number Diff line change 2
2
#define RUBY_RELEASE_DATE "2007-08-16"
3
3
#define RUBY_VERSION_CODE 185
4
4
#define RUBY_RELEASE_CODE 20070816
5
- #define RUBY_PATCHLEVEL 54
5
+ #define RUBY_PATCHLEVEL 55
6
6
7
7
#define RUBY_VERSION_MAJOR 1
8
8
#define RUBY_VERSION_MINOR 8
You can’t perform that action at this time.
0 commit comments