From bc343b851d04f68ef7554a2cca0bad63a32c2b7d Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 19 Mar 2016 05:46:20 +0000 Subject: 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 --- vm_core.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'vm_core.h') diff --git a/vm_core.h b/vm_core.h index ae6fd614c1..92277f17db 100644 --- a/vm_core.h +++ b/vm_core.h @@ -750,12 +750,6 @@ typedef struct rb_thread_struct { */ int parse_in_eval; - /*! Thread-local state of compiling context. - * - * If non-zero, the parser does not automatically print error messages to - * stderr. */ - int mild_compile_error; - /* storage */ st_table *local_storage; VALUE local_storage_recursive_hash; -- cgit v1.2.3