1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2000-12-13 03:48:30 +00:00
parent 3a7020854d
commit 5504b5c876
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Wed Dec 13 12:41:27 2000 WATANABE Hirofumi <eban@ruby-lang.org>
* ruby.c (proc_options): accept "--^M" for DOS line endings.
Tue Dec 12 15:45:42 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (newline_node): cancel newline unification.

2
ruby.c
View file

@ -576,7 +576,7 @@ proc_options(argc, argv)
goto reswitch;
case '-':
if (!s[1]) {
if (!s[1] || s[1] == '\r' && !s[2]) {
argc--,argv++;
goto switch_end;
}