[ruby-cvs:61506] nobu:r54343 (trunk): remove rb_thread_t::parse_in_eval

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Mar 29 06:39:24 JST 2016


nobu	2016-03-29 06:39:24 +0900 (Tue, 29 Mar 2016)

  New Revision: 54343

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54343

  Log:
    remove rb_thread_t::parse_in_eval
    
    * parse.y (struct parser_params): move parse_in_eval flag from
      rb_thread_t.
    * parse.y (rb_parser_set_context): set parsing context, not only
      mild error flag.
    * iseq.c (rb_iseq_compile_with_option): the parser now refers no
      thread local states to be restored.
    * vm_eval.c (eval_string_with_cref): ditto.

  Modified files:
    trunk/ChangeLog
    trunk/compile.c
    trunk/internal.h
    trunk/iseq.c
    trunk/load.c
    trunk/parse.y
    trunk/ruby.c
    trunk/vm_core.h
    trunk/vm_eval.c


More information about the ruby-cvs mailing list