diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-04 05:34:37 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-04 05:34:37 +0000 |
commit | 6658e98c2d3f2ba3f59cb883dd784ad07a502edd (patch) | |
tree | 9f26985a2a131f63423a8c40587a4fb80b70ac07 /ruby.c | |
parent | 80644b31d5fa315bfe2ef73456557a9c985f88bd (diff) | |
download | ruby-6658e98c2d3f2ba3f59cb883dd784ad07a502edd.tar.gz |
* ruby.c (process_options): reverted c flag.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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); |