summaryrefslogtreecommitdiffstats
path: root/lex.c
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* * parse.y (yylex): __END__ should not be effective withinmatz2002-06-241-1/+0
| | | | | | | | | | string literals. * parse.y (here_document): should be aware of __END__ within here documents. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * intern.h: add prototypes.nobu2001-12-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | rb_gc_enable(), rb_gc_disable(), rb_gc_start(), rb_str_new5() rb_str_buf_append(), rb_str_buf_cat(), rb_str_buf_cat2(), rb_str_dup_frozen() * ruby.h: added declaration. rb_defout, rb_stdin, rb_stdout, rb_stderr, ruby_errinfo * rubyio.h: changed double include guard macro to RUBYIO_H. * array.c (inspect_call): make static. * eval.c (dvar_asgn): ditto. * io.c (rb_io_close_read): ditto. * lex.c (rb_reserved_word): ditto. * ruby.c: (req_list_head, req_list_last): ditto. * ruby.c (require_libraries): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1915 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-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-5/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Wed May 24 16:03:06 2000 Wakou Aoyama <wakou@fsinet.or.jp>wakou2000-05-241-1/+1
| | | | | | | | * lib/cgi.rb bug fix: CGI::escape(), CGI::Cookie::new() * lib/net/telnet.rb improve: binmode(), telnetmode() interface git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@711 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
* 1.4.0matz1999-08-131-68/+81
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was generated by cvs2svn to compensate for changes in r372,matz1999-01-201-21/+23
| | | | | | | 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/+117
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8 b2dd03c8-39d4-4d8f-98ff-823fe69b080e