From cba6447e874feaadbfd5fd8a16973d8016def82d Mon Sep 17 00:00:00 2001 From: naruse Date: Sun, 13 Dec 2009 11:29:33 +0000 Subject: * ruby.c (rb_parser_dump_tree): add prototype. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 10 +++++++--- ruby.c | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 72694299e..f89e40a85 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,12 @@ +Sun Dec 13 20:26:57 2009 NARUSE, Yui + + * ruby.c (rb_parser_dump_tree): add prototype. + Thu Dec 10 20:55:55 2009 Martin Duerst * transcode_data.h, transcode.c, tool/transcode-tblgen.rb: Added support for new transcoding instruction FUNsio (with Tatsuya Mizuno) - + * enc/trans/gb18030.trans: Significantly reduced GB18030 conversion table footprint using FUNsio and differences (with Tatsuya Mizuno) @@ -43,7 +47,7 @@ Wed Dec 9 22:57:04 2009 Yusuke Endoh * node.c: node management added. Currently, only pretty-dumper is implemented. [ruby-dev:39853] - + * ruby.c: --dump=parsetree and --dump=parsetree_with_comment options added. This is just for debug or research purpose. Note that the compatibility of these options are not supported at all. @@ -89,7 +93,7 @@ Mon Dec 7 14:11:08 2009 Nobuyoshi Nakada Mon Dec 7 13:05:59 2009 Yuki Sonoda (Yugui) * string.c (rb_str_justify): CVE-2009-4124. - Fixes a bug reported by + Fixes a bug reported by Emmanouel Kellinis , KPMG London; Patch by nobu. diff --git a/ruby.c b/ruby.c index c9cd10d68..536772032 100644 --- a/ruby.c +++ b/ruby.c @@ -1216,6 +1216,7 @@ rb_f_chomp(argc, argv) } void rb_stdio_set_default_encoding(void); +VALUE rb_parser_dump_tree(NODE *node, int comment); static VALUE process_options(int argc, char **argv, struct cmdline_options *opt) -- cgit