Project

General

Profile

« Previous | Next » 

Revision bc343b85

Added by nobu (Nobuyoshi Nakada) about 8 years ago

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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e