diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-06-08 19:17:59 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-10-12 16:21:08 +0900 |
| commit | daa37be5495393ce3e4654e00e44099f627e6cd4 (patch) | |
| tree | 9c8159981b3d9a672d8ff98d57eb3cad67e7f70c /mrbgems/mruby-compiler/core/y.tab.c | |
| parent | ad15e59cd942486d87e2fb38d30993f15dc29433 (diff) | |
| download | mruby-daa37be5495393ce3e4654e00e44099f627e6cd4.tar.gz mruby-daa37be5495393ce3e4654e00e44099f627e6cd4.zip | |
Rename `struct mrb_locals` to `struct mrb_lvinfo`.
That stands for "local variable information".
Diffstat (limited to 'mrbgems/mruby-compiler/core/y.tab.c')
| -rw-r--r-- | mrbgems/mruby-compiler/core/y.tab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-compiler/core/y.tab.c b/mrbgems/mruby-compiler/core/y.tab.c index 5c66a18a6..504ec6d04 100644 --- a/mrbgems/mruby-compiler/core/y.tab.c +++ b/mrbgems/mruby-compiler/core/y.tab.c @@ -344,7 +344,7 @@ local_var_p(parser_state *p, mrb_sym sym) while (u && !MRB_PROC_CFUNC_P(u)) { const struct mrb_irep *ir = u->body.irep; uint_fast16_t n = ir->nlocals; - const struct mrb_locals *v = ir->lv; + const struct mrb_lvinfo *v = ir->lv; for (; n > 1; n --, v ++) { if (v->name == sym) return TRUE; } |
