Skip to content

Commit

Permalink
version 1.0-971125
Browse files Browse the repository at this point in the history
https://cache.ruby-lang.org/pub/ruby/1.0/ruby-1.0-971125.tar.gz

Tue Nov 25 15:03:28 1997  Yukihiro Matsumoto  <matz@netlab.co.jp>

	* version 1.0-971125

Fri Nov 21 13:17:12 1997  Yukihiro Matsumoto  <matz@netlab.co.jp>

	* parse.y (yylex): skip multibyte characters in comments.

Wed Nov 19 17:19:20 1997  Yukihiro Matsumoto  <matz@netlab.co.jp>

	* parse.y (call_args): wrong node generation.
  • Loading branch information
matz authored and k0kubun committed Aug 17, 2019
1 parent cfd31fa commit ab26163
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 6 deletions.
14 changes: 12 additions & 2 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
Tue Nov 25 15:03:28 1997 Yukihiro Matsumoto <matz@netlab.co.jp>

* version 1.0-971125

Fri Nov 21 13:17:12 1997 Yukihiro Matsumoto <matz@netlab.co.jp>

* parse.y (yylex): skip multibyte characters in comments.

Wed Nov 19 17:19:20 1997 Yukihiro Matsumoto <matz@netlab.co.jp>

* parse.y (call_args): wrong node generation.

Tue Nov 18 13:59:59 1997 Yukihiro Matsumoto <matz@netlab.co.jp>

* version 1.0-971118
Expand All @@ -23,8 +35,6 @@ Thu Oct 30 16:54:01 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>

* string.c (str_chop_bang): "".chop caused SEGV.

* string.c (str_chomp_bang): method to chop out last newline.

Mon Oct 27 13:49:13 1997 Yukihiro Matsumoto <matz@netlab.co.jp>

* ext/extmk.rb.in: library may have pathname contains `.'
Expand Down
1 change: 1 addition & 0 deletions ext/dbm/dbm.c
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ fdbm_delete_if(obj)

rb_secure(4);
GetDBM(obj, dbmp);
dbm = dbmp->di_dbm;
for (key = dbm_firstkey(dbm); key.dptr; key = dbm_nextkey(dbm)) {
val = dbm_fetch(dbm, key);
keystr = str_taint(str_new(key.dptr, key.dsize));
Expand Down
9 changes: 7 additions & 2 deletions parse.y
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,7 @@ call_args0 : args
}
| STAR arg
{
value_expr($2);
$$ = $2;
}

Expand Down Expand Up @@ -730,12 +731,15 @@ mrhs : args
}
| STAR arg
{
value_expr($2);
$$ = $2;
}

ret_args : call_args0
{
if ($1 && $1->nd_next == 0) {
if ($1 &&
nd_type($1) == NODE_ARRAY &&
$1->nd_next == 0) {
$$ = $1->nd_head;
}
else {
Expand Down Expand Up @@ -1977,10 +1981,11 @@ retry:
while ((c = nextc()) != '\n') {
if (c == -1)
return 0;
if (c == '\\') { /* skip a char */
if (c == '\\') { /* skip a char */
c = nextc();
if (c == '\n') sourceline++;
}
if (ismbchar(c)) c = nextc();
}
/* fall through */
case '\n':
Expand Down
4 changes: 2 additions & 2 deletions version.h
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#define RUBY_VERSION "1.0-971118"
#define VERSION_DATE "97/11/18"
#define RUBY_VERSION "1.0-971125"
#define VERSION_DATE "97/11/25"

0 comments on commit ab26163

Please sign in to comment.