summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-08-22 22:36:44 +0900
committerYukihiro Matsumoto <[email protected]>2012-08-22 22:36:44 +0900
commit15725eb4f6dc67de626fe5822d77312d7ab8994a (patch)
tree0b33a09d486046c49edef7af6b24a90a6ce3e643 /tools
parent655518f38a712073cd68d678b046226b64c98859 (diff)
downloadmruby-15725eb4f6dc67de626fe5822d77312d7ab8994a.tar.gz
mruby-15725eb4f6dc67de626fe5822d77312d7ab8994a.zip
file/line info passed to codegen; argument type of mrb_generate_code() has changed
Diffstat (limited to 'tools')
-rw-r--r--tools/mirb/mirb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mirb/mirb.c b/tools/mirb/mirb.c
index c9198917e..b3b86f013 100644
--- a/tools/mirb/mirb.c
+++ b/tools/mirb/mirb.c
@@ -220,7 +220,7 @@ main(void)
}
else {
/* generate bytecode */
- n = mrb_generate_code(mrb, parser->tree);
+ n = mrb_generate_code(mrb, parser);
/* evaluate the bytecode */
result = mrb_run(mrb,