[ruby-cvs:64479] nobu:r57313 (trunk): immediate message mode of compile error

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Jan 12 16:41:35 JST 2017


nobu	2017-01-12 16:41:35 +0900 (Thu, 12 Jan 2017)

  New Revision: 57313

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

  Log:
    immediate message mode of compile error
    
    * compile.c (append_compile_error): set Qtrue for erred state with
      showing the message immediately.
    
    * iseq.c (prepare_iseq_build): make immediate message mode if main
      or top level context, not to show the failed path twice in the
      first line.
    
    * iseq.c (cleanup_iseq_build): raise default message exception if
      immediate message mode.

  Modified files:
    trunk/compile.c
    trunk/eval_error.c
    trunk/iseq.c
    trunk/test/ruby/test_syntax.rb


More information about the ruby-cvs mailing list