[ruby-cvs:73699] ko1:r66595 (trunk): fix missed script_compiled events. [Bug #15471]

ko1 at ruby-lang.org ko1 at ruby-lang.org
Fri Dec 28 02:39:17 JST 2018


ko1	2018-12-28 02:39:17 +0900 (Fri, 28 Dec 2018)

  New Revision: 66595

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

  Log:
    fix missed script_compiled events. [Bug #15471]
    
    * ruby.c (process_options): script_compiled events are missed on
      command line -e or specified file. this commit fix it.
      [Bug #15471]
    
      This patch should be backport to Ruby 2.6 branch.
    
    * vm_core.h (rb_exec_event_hook_script_compiled): introduce utility
      function to invoke a script_compiled event.

  Modified files:
    trunk/load.c
    trunk/ruby.c
    trunk/vm_core.h
    trunk/vm_eval.c


More information about the ruby-cvs mailing list