From ed6faa8736bb1f9490267d023babc59606bf89f5 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 4 Dec 2007 05:34:37 +0000 Subject: * ruby.c (process_options): reverted c flag. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ruby.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ruby.c') diff --git a/ruby.c b/ruby.c index 05c559a5e..72602db01 100644 --- a/ruby.c +++ b/ruby.c @@ -1018,6 +1018,11 @@ process_options(VALUE arg) FL_UNSET(rb_load_path, FL_TAINT); } + if (opt->do_check) { + printf("Syntax OK\n"); + return Qtrue; + } + if (tree) { if (opt->do_print) { tree = rb_parser_append_print(parser, tree); -- cgit