mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ruby.c (process_options): reverted c flag.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
80644b31d5
commit
6658e98c2d
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Tue Dec 4 14:34:35 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ruby.c (process_options): reverted c flag.
|
||||
|
||||
Tue Dec 4 11:23:50 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* bignum.c (rb_cstr_to_inum): trailing spaces may exist at sqeezing
|
||||
|
|
5
ruby.c
5
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);
|
||||
|
|
Loading…
Reference in a new issue