-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- Loading branch information
matz
committed
Feb 23, 2000
1 parent
6f82a67
commit bf70582
Showing
19 changed files
with
130 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,21 @@ | ||
Wed Feb 23 14:22:32 2000 Yukihiro Matsumoto <[email protected]> | ||
|
||
* array.c (rb_ary_join): forgot to initialize a local variable | ||
`taint'. | ||
|
||
Tue Feb 22 07:40:55 2000 Yukihiro Matsumoto <[email protected]> | ||
|
||
* re.c (Init_Regexp): renamed to MatchData, old name MatchingData | ||
remain as alias. | ||
|
||
Sat Feb 19 23:58:51 2000 Yukihiro Matsumoto <[email protected]> | ||
|
||
* regex.c (re_match): pop_loop should not pop at forward jump. | ||
|
||
Fri Feb 18 17:15:40 2000 Yukihiro Matsumoto <[email protected]> | ||
|
||
* eval.c (method_clone): method objects are now clonable. | ||
|
||
Fri Feb 18 00:27:34 2000 Yukihiro Matsumoto <[email protected]> | ||
|
||
* variable.c (rb_shared_variable_declare): shared variable (aka | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# this is just a proof of concept toy. | ||
|
||
class RegOr | ||
def initialize(re1, re2) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
sub fib { | ||
local($n)=@_; | ||
if( $n<2 ){ | ||
return $n; | ||
} { | ||
return &fib($n-2)+&fib($n-1) | ||
} | ||
} | ||
sub fib { | ||
my($n)=@_; | ||
if ($n<2) { | ||
return $n; | ||
} | ||
else { | ||
return fib($n-2)+fib($n-1); | ||
} | ||
} | ||
|
||
print &fib(20), "\n"; | ||
print fib(20), "\n"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#define RUBY_VERSION "1.5.2" | ||
#define RUBY_RELEASE_DATE "2000-02-18" | ||
#define RUBY_RELEASE_DATE "2000-02-23" | ||
#define RUBY_VERSION_CODE 152 | ||
#define RUBY_RELEASE_CODE 20000218 | ||
#define RUBY_RELEASE_CODE 20000223 |