| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* parse.y (dsym): ditto.
* parse.y (parser_yylex): strings should be followed by
EXPR_ENDARG.
* parse.y (parser_yylex): ditto for numbers.
* parse.y (parser_yylex): EXPR_ENDARG after ']' and '}'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@12206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
| |
principle as class variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@12198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
| |
argument for logarithm base.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@12197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
| |
[ruby-talk:239385]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@12196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
| |
it's invoked from within lambda body. [ruby-talk:248136]
* eval.c (proc_invoke): handle TAG_NEXT which would be caused by
next in the lambda body as well.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@12188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
| |
starting "do"s and braces. [ruby-core:10916]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@12178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
| |
Chikanaga Tomoyuki <chikanag AT nippon-control-system.co.jp>.
[ruby-dev:30460]
* gc.c (obj_free): check SCOPE_CLONE flag before freeing local_tbl
region.
* parse.y (top_local_setup_gen): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
| |
variable name conflict. [ruby-dev:30206]
* lib/date/format.rb (Date::Format::Bag::method_missing): add
prefix to avoid making t class-local instance variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
| |
structure on clone and dup. [ruby-dev:30192]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
| |
regexp font-lock bug. [ruby-talk:235758]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
any blocks.
* parse.y (arg): add new rule for explicit block local variable
assignment.
* parse.y (parser_yylex): allow ':=' assignment operator.
* parse.y (assignable_gen): do not generate NEW_DASGN() for mere
local assignment.
* sample/test.rb: update some test to adapt new scoping rule.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
assignment. a patch from Tanaka Akira <akr at fsij.org> in
[ruby-dev:29616]. [ruby-dev:29006]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
| |
* parse.y (rb_compose_ivar2): function to create a new ivar2
symbol from a symbol and a class.
* parse.y (rb_decompose_ivar2): reverse function of
rb_compose_ivar2().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
| |
* marshal.c (w_symbol): support class local instance variables.
* marshal.c (r_object0): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
| |
* string.c (Init_String): remove Symbol#hash and Symbol#eql?
* string.c (Init_String): remove Symbol#to_str.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
| |
detect too long URI line in the request. [ruby-talk:231563]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
| |
classes. [ruby-core:09604]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
| |
receiver of the method object. [ruby-talk:234949]
* eval.c (method_name): new method to get the name of a method.
* eval.c (method_owner): a new method to get the class or module
that defines the method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
| |
hash methods for the keys. [ruby-core:09995]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
| |
shared. fixed: [ruby-dev:30116]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
Patch by Daniel Berger <djberg96 at gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
| |
when met the delimiter or EOF. fixed: [ruby-dev:30081]
* io.c (prepare_getline_args, rb_io_getline_1): split
preparation of arguments and reading. [ruby-dev:30085]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) look up in the class. 2) if the class is singleton attached
to a class (i.e. metaclass) then start look up in the attached
class and its ancestors. 3) otherwise, look-up in ancestors of
the class.
* eval.c (cvar_cbase): destination for class variable access is
the class/module that holds the method, or cbase outside of
methods.
* eval.c (rb_eval): merge code for NODE_CVDECL and NODE_CVASGN.
* parse.y (assignable_gen): no need to generate NODE_CVDECL.
* eval.c (cvar_cbase): destination for class variable access is
now strictly innermost surrounding class or module. warned if
accessed from toplevel.
* eval.c (rb_eval): small refactoring for NODE_CVASGN.
* variable.c (rb_cvar_set): 1.9 no longer need warn argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
| |
[ruby-dev:30065]
* io.c (rb_io_getline_fast): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
| |
trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
| |
NUMCHAR_OPTION.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
| |
it's called for the target class (ruby_cbase).
* eval.c (splat): no error for non-array splat.
* lib/rss/xml-stylesheet.rb (RSS::XMLStyleSheet::initialize): no
need for unnecessary splat in calling arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
| |
non-class object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
given.
* eval.c (rb_catch): call #catch without arguments if tag string
is NULL.
* eval.c (rb_f_throw): allow throwing non-symbol object.
* eval.c (rb_catch_obj): new function to wait throw with arbitrary
object.
* eval.c (rb_throw_obj): new function to throw arbitrary object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
| |
* enum.c (enum_min, enum_max): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|