diff options
| author | Christian Mauceri <[email protected]> | 2012-11-22 15:26:23 +0100 |
|---|---|---|
| committer | Christian Mauceri <[email protected]> | 2012-11-22 15:26:23 +0100 |
| commit | 186fd9a3039c484849006ac114d084b85526fdab (patch) | |
| tree | d27b61e1dcba609be2689d792a22372885e81f9e /src/codegen.c | |
| parent | 06ca237babe430fc4fcb79a696730b7511b4b7fe (diff) | |
| download | mruby-186fd9a3039c484849006ac114d084b85526fdab.tar.gz mruby-186fd9a3039c484849006ac114d084b85526fdab.zip | |
pull request issue 553 - try to fix brken link
Diffstat (limited to 'src/codegen.c')
| -rw-r--r-- | src/codegen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen.c b/src/codegen.c index 6f63c3d0e..8015216b7 100644 --- a/src/codegen.c +++ b/src/codegen.c @@ -2083,7 +2083,7 @@ scope_new(mrb_state *mrb, codegen_scope *prev, node *lv) //because of a potential bad memory access in case of gc let's allocate the irep right now mrb_add_irep(mrb, mrb->irep_len); mrb->irep[mrb->irep_len] = (mrb_irep *)mrb_malloc(mrb, sizeof(mrb_irep)); - + mrb->irep[mrb->irep_len]->plen = 0; p->idx = mrb->irep_len++; p->filename = prev->filename; if (p->filename) { |
