diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-11-20 13:36:05 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-11-20 13:36:05 +0000 |
commit | 99a40f4bf60e64782dbb831158880f53cd38092b (patch) | |
tree | 0e7b507d084b163d9b20932c39c716828f641303 | |
parent | b74938dd42588a45c8521ed929865f73a717f0ec (diff) |
* parse.y (rb_symname_p): [ not followed by ] is not valid symbol.
fixed: [ruby-talk:166520]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 13 | ||||
-rw-r--r-- | parse.y | 3 |
2 files changed, 11 insertions, 5 deletions
@@ -1,3 +1,8 @@ +Sun Nov 20 22:34:06 2005 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * parse.y (rb_symname_p): [ not followed by ] is not valid symbol. + fixed: [ruby-talk:166520] + Sat Nov 19 19:57:54 2005 Yukihiro Matsumoto <matz@ruby-lang.org> * lib/fileutils.rb (FileUtils::ln): ln documentation fix. @@ -21,13 +26,13 @@ Fri Nov 18 17:35:09 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> * ext/tk/lib/multi-tk.rb: add restriction to access the entried command table and manipulate other IPs (for reason of security). - Now, a IP object can be controlled by only its master IP or the - default IP. + Now, a IP object can be controlled by only its master IP or the + default IP. * ext/tk/lib/remote-tk.rb: add restriction to manipulate. - * ext/tk/tcltklib.c (ip_is_slave_of_p): add TclTkIp#slave_of?(ip) - to check manipulability. + * ext/tk/tcltklib.c (ip_is_slave_of_p): add TclTkIp#slave_of?(ip) + to check manipulability. * ext/tk/lib/tk.rb: bug fix on handling of Tcl's namespaces. @@ -5956,7 +5956,8 @@ rb_symname_p(name) break; case '[': - if (*++m == ']' && *++m == '=') ++m; + if (*++m != ']') return Qfalse; + if (*++m == '=') ++m; break; default: |