[ruby-cvs:61350] nobu:r54189 (trunk): SyntaxError message at iseq compile

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Mar 19 14:46:20 JST 2016


nobu	2016-03-19 14:46:20 +0900 (Sat, 19 Mar 2016)

  New Revision: 54189

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

  Log:
    SyntaxError message at iseq compile
    
    * iseq.c (rb_iseq_compile_with_option): make the parser in mild
      error.
    * load.c (rb_load_internal0): ditto.
    * parse.y (yycompile0): return the error message within the error
      to be raised.  [Feature #11951]
    * parse.y (parser_compile_error): accumulate error messages in the
      error_buffer.

  Modified files:
    trunk/ChangeLog
    trunk/error.c
    trunk/internal.h
    trunk/iseq.c
    trunk/load.c
    trunk/parse.y
    trunk/ruby.c
    trunk/test/ruby/test_iseq.rb
    trunk/vm_core.h
    trunk/vm_eval.c


More information about the ruby-cvs mailing list