summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-09-07 07:31:21 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-09-07 07:31:21 +0900
commit2fb06aabe6221468ddaeaa61056e4d487b97541a (patch)
tree3fce5c1caee3b6be88dd2256308ce45282d972c9 /include
parentad3404229fbc86eb2e9b8cf1cfd4063be323622f (diff)
downloadmruby-2fb06aabe6221468ddaeaa61056e4d487b97541a.tar.gz
mruby-2fb06aabe6221468ddaeaa61056e4d487b97541a.zip
parse.y: refactor `mrb_parser_parse()`.
- remove `mrb_jmpbuf` from `truct mrb_parser_state` - unify exception handling of `mrb_state` and `mrb_parser_state`.
Diffstat (limited to 'include')
-rw-r--r--include/mruby/compile.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/mruby/compile.h b/include/mruby/compile.h
index 8159cd696..6732625c1 100644
--- a/include/mruby/compile.h
+++ b/include/mruby/compile.h
@@ -16,8 +16,6 @@ MRB_BEGIN_DECL
#include <mruby.h>
-struct mrb_jmpbuf;
-
struct mrb_parser_state;
/* load context */
typedef struct mrbc_context {
@@ -165,7 +163,6 @@ struct mrb_parser_state {
uint16_t filename_table_length;
uint16_t current_filename_index;
- struct mrb_jmpbuf* jmp;
mrb_ast_node *nvars;
};