mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
parse.y: refactor mrb_parser_parse().
- remove `mrb_jmpbuf` from `truct mrb_parser_state` - unify exception handling of `mrb_state` and `mrb_parser_state`.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user