summaryrefslogtreecommitdiffstats
path: root/keywords
Commit message (Collapse)AuthorAgeFilesLines
* * keywords, parse.y (__ENCODING__): represent script encoding.nobu2007-12-211-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * keywords: enclose C code in declaration section by %{ and %}.akr2007-06-151-0/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_accept): revert to avoid ambiguity ofmatz2006-06-261-40/+40
| | | | | | | | | | | | | | | argument evaluation order. [ruby-dev:28861] * ext/socket/socket.c (sock_accept_nonblock): ditto. * io.c (pipe_open): avoid closing uninitialized file descriptors. a patch from <tommy at tmtm.org> [ruby-dev:28600] * parse.y: replace terminal token names with more descriptive name, i.e. kEND to keyword_end. [ruby-list:42477] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: remove static variables. [ruby-dev:26530]nobu2005-07-131-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * keywords, parse.y: separate EXPR_VALUE from EXPR_BEG.nobu2005-02-081-13/+13
| | | | | | | fixed: [ruby-core:04310], [ruby-core:04368] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y [ripper]: spaces before heredoc marker was lost.aamine2004-09-191-0/+5
| | | | | | | | | | * keywords: rb_reserved_word() should be defined only in ruby core. * lex.c: sync with keywords. * ext/ripper/ripper.rb.in (parse): fix typo. * ext/ripper/lib/ripper.rb: sync with ripper.rb.in. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: ripper merged.aamine2004-09-121-1/+1
| | | | | | | | * lex.c: ditto. * keywords: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * keywords: add braces around initializers.nobu2002-09-281-40/+40
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_step): 'iter' here should be an array.matz2001-08-201-2/+2
| | | | | | | | | | | | | | | | * marshal.c (w_object): should retrieve __member__ data from non-singleton class. * variable.c (rb_cvar_get): class variable override check added. * variable.c (rb_cvar_set): ditto * variable.c (rb_cvar_declare): ditto. * parse.y (parse_regx): handle backslash escaping of delimiter here. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (exc_exception): clone the receiver exception instead ofmatz2001-07-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | creating brand new exception object of the receiver. * eval.c (rb_eval_string_wrap): extend new ruby_top_self, not original self. * eval.c (rb_eval_cmd): respect ruby_wrapper if set. * eval.c (eval): do not update ruby_class unless scope is not provided. * eval.c (eval): preserve wrapper information. * eval.c (proc_invoke): ditto. * eval.c (block_pass): ditto. * parse.y (void_expr): too much warnings for void context (e.g. foo[1] that can be mere Proc call). * error.c (rb_name_error): new function to raise NameError with name attribute set. * eval.c (rb_f_missing): set name and args in the exception object. [new] * error.c (name_name): NameError#name - new method. * error.c (nometh_args): NoMethodError#args - new method. * lex.c (rb_reserved_word): lex_state after tRESCUE should be EXPR_MID. * gc.c (add_heap): allocation size of the heap unit is doubled for each allocation. * dir.c (isdelim): space, tab, and newline are no longer delimiters for glob patterns. * eval.c (svalue_to_avalue): new conversion scheme between single value and array values. * eval.c (avalue_to_svalue): ditto. * eval.c (rb_eval): REXPAND now uses avalue_to_svalue(), return and yield too. * eval.c (rb_yield_0): use avalue_to_svalue(). * eval.c (proc_invoke): Proc#call gives avaules, whereas Proc#yield gives mvalues. * eval.c (bmcall): convert given value (svalue) to avalue. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-05-30matz2000-05-301-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 19991110matz1999-11-101-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was generated by cvs2svn to compensate for changes in r372,matz1999-01-201-0/+2
| | | | | | | which included commits to RCS files with non-trunk default branches. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Initial revisionmatz1998-01-161-0/+40
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8 b2dd03c8-39d4-4d8f-98ff-823fe69b080e