summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-19 05:46:20 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-19 05:46:20 (GMT)
commitbc343b851d04f68ef7554a2cca0bad63a32c2b7d (patch)
tree34701ea26f297294c1ab55561610227fcd761eba /vm_core.h
parent22198f9d3c384dbc3e95b953d71a07de12da652b (diff)
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
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/vm_core.h b/vm_core.h
index ae6fd61..92277f1 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;