summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>1995-02-09 16:18:37 +0900
committerTakashi Kokubun <[email protected]>2019-08-17 22:09:31 +0900
commitc080fb6d10bbcb697b6ba16e640de8db3f1973d0 (patch)
tree2df6299a382a47f1bed94ea2c8dedc64113d79c9
parent897cf066952978ccbae1d57bbc14a03c7b98a1e1 (diff)
version 0.66v0_66
https://cache.ruby-lang.org/pub/ruby/1.0/ruby-0.65-0.66.diff.gz Thu Feb 9 16:18:37 1995 Yukihiro Matsumoto (matz@ix-02) * version 0.66 * parse.y: protectをbeginに変更.begin..endは例外処理だけでなく, 文括弧としても働くことになった.
-rw-r--r--ChangeLog5
-rw-r--r--eval.c4
-rw-r--r--node.h4
-rw-r--r--parse.y15
-rw-r--r--sample/occur2.rb2
-rw-r--r--sample/ruby-mode.el2
-rw-r--r--sample/sieve.rb2
-rw-r--r--spec140
-rw-r--r--version.h4
9 files changed, 91 insertions, 87 deletions
diff --git a/ChangeLog b/ChangeLog
index 35d02ea51e..838091a5d4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Feb 9 16:18:37 1995 Yukihiro Matsumoto (matz@ix-02)
+
+ * parse.y: protect��begin���ѹ���begin..end���㳰���������Ǥʤ���
+ ʸ��̤Ȥ��Ƥ�Ư�����Ȥˤʤä���
+
Wed Feb 1 19:48:24 1995 Yukihiro Matsumoto (matz@ix-02)
* string.c(str_replace): �֤�������ʸ�����Ĺ���������������ꥳ
diff --git a/eval.c b/eval.c
index 1e00de909c..fa61e47250 100644
--- a/eval.c
+++ b/eval.c
@@ -788,7 +788,7 @@ rb_eval(node)
}
return result;
- case NODE_PROT:
+ case NODE_BEGIN:
PUSH_TAG();
switch (state = EXEC_TAG()) {
case 0:
@@ -1933,7 +1933,7 @@ rb_call(class, recv, mid, argc, argv, func)
Fatal("unexpected redo");
break;
case TAG_RETRY:
- Fatal("retry outside of protect clause");
+ Fatal("retry outside of resque clause");
break;
case TAG_RETURN:
result = last_val;
diff --git a/node.h b/node.h
index 8137995d71..f98be64cc6 100644
--- a/node.h
+++ b/node.h
@@ -26,7 +26,7 @@ enum node_type {
NODE_WHILE2,
NODE_ITER,
NODE_FOR,
- NODE_PROT,
+ NODE_BEGIN,
NODE_AND,
NODE_OR,
NODE_NOT,
@@ -187,7 +187,7 @@ typedef struct RNode {
#define NEW_WHILE2(c,b) newnode(NODE_WHILE2,c,b,Qnil)
#define NEW_FOR(v,i,b) newnode(NODE_FOR,v,b,i)
#define NEW_ITER(v,i,b) newnode(NODE_ITER,v,b,i)
-#define NEW_PROT(b,ex,en) newnode(NODE_PROT,b,ex,en)
+#define NEW_BEGIN(b,ex,en) newnode(NODE_BEGIN,b,ex,en)
#define NEW_REDO() newnode(NODE_REDO,Qnil,Qnil,Qnil)
#define NEW_BREAK() newnode(NODE_BREAK,Qnil,Qnil,Qnil)
#define NEW_CONT() newnode(NODE_CONTINUE,Qnil,Qnil,Qnil)
diff --git a/parse.y b/parse.y
index 7c84221c8c..7dabc5d2fe 100644
--- a/parse.y
+++ b/parse.y
@@ -90,6 +90,10 @@ static void setup_top_local();
DEF
UNDEF
INCLUDE
+ BEGIN
+ RESQUE
+ ENSURE
+ END
IF
THEN
ELSIF
@@ -99,10 +103,6 @@ static void setup_top_local();
WHILE
FOR
IN
- PROTECT
- RESQUE
- ENSURE
- END
REDO
BREAK
CONTINUE
@@ -762,18 +762,17 @@ primary : literal
value_expr($4);
$$ = NEW_FOR($2, $4, $6);
}
- | PROTECT
+ | BEGIN
compexpr
resque
ensure
END
{
if ($3 == Qnil && $4 == Qnil) {
- Warning("useless protect clause");
$$ = $2;
}
else {
- $$ = NEW_PROT($2, $3, $4);
+ $$ = NEW_BEGIN($2, $3, $4);
}
}
| LPAREN compexpr rparen
@@ -1312,6 +1311,7 @@ static struct kwtable {
"__LINE__", _LINE_, EXPR_END,
"alias", ALIAS, EXPR_FNAME,
"and", AND, EXPR_BEG,
+ "begin", BEGIN, EXPR_BEG,
"break", BREAK, EXPR_END,
"case", CASE, EXPR_BEG,
"class", CLASS, EXPR_BEG,
@@ -1329,7 +1329,6 @@ static struct kwtable {
"module", MODULE, EXPR_BEG,
"nil", NIL, EXPR_END,
"or", OR, EXPR_BEG,
- "protect", PROTECT, EXPR_BEG,
"redo", REDO, EXPR_END,
"resque", RESQUE, EXPR_BEG,
"retry", RETRY, EXPR_END,
diff --git a/sample/occur2.rb b/sample/occur2.rb
index 899294ea37..8cd5acbe5e 100644
--- a/sample/occur2.rb
+++ b/sample/occur2.rb
@@ -3,7 +3,7 @@
freq = {}
while gets()
for word in $_.split(/\W+/)
- protect
+ begin
freq[word] = freq[word] + 1
resque
freq[word] = 1
diff --git a/sample/ruby-mode.el b/sample/ruby-mode.el
index 7f97e71c54..4396b1098d 100644
--- a/sample/ruby-mode.el
+++ b/sample/ruby-mode.el
@@ -8,7 +8,7 @@
;;;
(defconst ruby-block-beg-re
- "class\\|module\\|def\\|if\\|unless\\|case\\|while\\|until\\|for\\|protect"
+ "class\\|module\\|def\\|if\\|unless\\|case\\|while\\|until\\|for\\|begin"
)
(defconst ruby-block-mid-re
diff --git a/sample/sieve.rb b/sample/sieve.rb
index eaf4e33e2c..640cc32b08 100644
--- a/sample/sieve.rb
+++ b/sample/sieve.rb
@@ -5,7 +5,7 @@ max = max.to_i
print "1"
for i in 2 .. max
- protect
+ begin
for d in sieve
fail if i % d == 0
end
diff --git a/spec b/spec
index b7c374db64..fb5d04659e 100644
--- a/spec
+++ b/spec
@@ -67,13 +67,13 @@ tab)�� CR(carriage return)������(form feed)�Ǥ��롥����(newline)������
ͽ���ϰʲ����̤�Ǥ���
- alias else in resque when
- and elsif include retry while
- break end module return yield
- case ensure nil self __END__
- class fail or super __FILE__
- continue for protect then __LINE__
- def if redo undef
+ alias def if resque when
+ and else in retry while
+ begin elsif include return yield
+ break end module self __END__
+ case ensure nil super __FILE__
+ class fail or then __LINE__
+ continue for redo undef
ͽ���ϥ��饹̾���᥽�å�̾���ѿ�̾�ʤɤ��Ѥ��뤳�ȤϤǤ��ʤ���
@@ -303,7 +303,7 @@ Ruby���ѿ��ϥ�������(ͭ���ϰ�)�ȼ�̿(ͭ������)�ˤ�ä�4�����ʬ�व�졤
��̤���ˤ�ñ�ʤ뼰�����ǤϤʤ��������¤�(��ץ������)���֤����Ȥ���
��롥
- `(' �� `;' ��... `)'
+ `(' �� `;' ��.. `)'
�����¤Ӥ��ͤϺǸ��ɾ�����������ͤǤ��롥�Ĥޤ���ͤϺǸ��ɾ��������
���ͤˤʤ롥
@@ -317,7 +317,7 @@ Ruby���ѿ��ϥ�������(ͭ���ϰ�)�ȼ�̿(ͭ������)�ˤ�ä�4�����ʬ�व�졤
�����Array���饹�Υ��󥹥��󥹤Ǥ��롥������������뼰�ϰʲ��η�����
���롥
- `[' ��, ... `]'
+ `[' ��, .. `]'
���줾��μ���ɾ��������̤�ޤ�������֤������ǿ���0�ζ������������
�뤿��ˤ϶�������
@@ -336,7 +336,7 @@ Ruby���ѿ��ϥ�������(ͭ���ϰ�)�ȼ�̿(ͭ������)�ˤ�ä�4�����ʬ�व�졤
��Ϣ�������Dict(����)���饹�Υ��󥹥��󥹤Ǥ��롥�ܺ٤ϥ��饹Dict�ι�
�򻲾Ȥ��줿����Ϣ���������������Ϣ�����󼰤ϰʲ��η����Ǥ��롥
- `{' �� `=>' ��... `}'
+ `{' �� `=>' ��.. `}'
���줾��μ���ɾ��������̤򥭡����ͤȤ���Ϣ�����󥪥֥������Ȥ��֤���
���ǿ���0��Ϣ��������������뤿��ˤ϶���Ϣ������
@@ -356,7 +356,7 @@ Ruby���ѿ��ϥ�������(ͭ���ϰ�)�ȼ�̿(ͭ������)�ˤ�ä�4�����ʬ�व�졤
���֥������Ȥ˥�å��������������Ū�ʹ�ʸ����å��������Ǥ��ꡤ���δ�
�ܷ����ϰʲ����̤�Ǥ��롥
- ��1 `.' �᥽�å�̾ `(' ����1... [`,' `*' ����n ]`)'
+ ��1 `.' �᥽�å�̾ `(' ����1.. [`,' `*' ����n ]`)'
��1��ɾ�����������륪�֥������ȤΡ����̻Ҥǻ��ꤵ���᥽�åɤ�Ƥ�
�Ф������ֺǸ�ΰ�����`*'��³��(ñ���)���Ǥ����硤���μ���ɾ������
@@ -403,7 +403,7 @@ Ruby���ѿ��ϥ�������(ͭ���ϰ�)�ȼ�̿(ͭ������)�ˤ�ä�4�����ʬ�व�졤
�Ф��������Ȥ���Ϳ����줿�ѿ����ͤ��ѹ����Ƥ⡤�Ϥ����Τϸ��ΰ�����
�ͤǤ��롥
- super`(' ����... `)'
+ super`(' ����.. `)'
�����ȤȤ�˥����ѡ����饹��Ʊ̾�Υ᥽�åɤ�ƤӽФ������ֺǸ�ΰ�����
`*'��³�������̾�Υ᥽�åɸƤӽФ���Ʊ�ͤ�Ÿ�������Ϥ���롥
@@ -430,7 +430,7 @@ module�����Ѥ��롥�������ϱ黻�ҷ�����ȤäƤ��뤬���᥽�åɤǤϤʤ���
�������Ǥؤ�����
- ��1`[' ��2... `]' `=' ��n
+ ��1`[' ��2.. `]' `=' ��n
��1��ɾ�����������륪�֥������Ȥˡ���2���鼰n�ޤǤ�����Ȥ��ơ�"[]="
�Ȥ����᥽�åɤ�ƤӽФ���
@@ -470,7 +470,7 @@ module�����Ѥ��롥�������ϱ黻�ҷ�����ȤäƤ��뤬���᥽�åɤǤϤʤ���
Ʊ����ʣ�����ѿ���������Ԥʤ����Ȥ��Ǥ��롥���η����ϰʲ����̤�Ǥ��롥
- ���� `,' [���� `,' ...] [`*' ����]= �� [, ��...]
+ ���� `,' [���� `,'..] [`*' ����]= �� [, ��..]
���դμ�����Ĥ����ʤ����ϡ������ͤ�����Ȥ���(ɬ�פʤ��to_a�᥽��
�ɤ�������Ѵ�����)�����Ǥ򤽤줾�캸�դ��������롥����ʳ��ξ��ˤϡ�
@@ -510,9 +510,9 @@ module�����Ѥ��롥�������ϱ黻�ҷ�����ȤäƤ��뤬���᥽�åɤǤϤʤ���
<=> == != =~ !~
&&
||
- .. ..��
+ .. ...
::
- =(����) ��������(+=, -=, ..)
+ =(����) ��������(+=, -=,..)
and
or
�� if������ while������
@@ -534,13 +534,13 @@ module�����Ѥ��롥�������ϱ黻�ҷ�����ȤäƤ��뤬���᥽�åɤǤϤʤ���
��1. �黻�� ()
-����(Ϣ�������ޤ�)�����Ǥλ���(��1 `[' ��2... `]')
+����(Ϣ�������ޤ�)�����Ǥλ���(��1 `[' ��2.. `]')
- ��1. `[]' (��2...)
+ ��1. `[]' (��2..)
-�������Ǥ�����( ��1 `[' ��2... `]' `=' ��n)
+�������Ǥ�����( ��1 `[' ��2.. `]' `=' ��n)
- ��1. `[]=' (��2...)
+ ��1. `[]=' (��2..)
����ʳ���2��黻��(�� �黻�� ��)
@@ -552,11 +552,11 @@ module�����Ѥ��롥�������ϱ黻�ҷ�����ȤäƤ��뤬���᥽�åɤǤϤʤ���
** IF
if ��1 [then]
- ��1
+ ��..
[elsif ��2 [then]
- ��2 ]...
+ ��.. ]..
[else
- ��n ]
+ ��.. ]
end
���Ƚ�Ǽ�����1�����ξ��˼�1��ɾ�����롥����ʳ��ξ��ϼ�2��ɾ����
@@ -577,10 +577,10 @@ if�ξ��Ƚ�����μ��Ǥ�ʸ���������ɽ����ƥ��ϼ���$_=~ ��ƥ��פ�
** CASE
case ��0
- [when ��1 [, ��2]... [then]
- ��1 ]..��
+ [when ��1 [, ��2].. [then]
+ ��.. ]..
[else
- ��n ]
+ ��.. ]
end
���ʬ����C��switch����Pascal��case�˻��Ƥ��롥break��æ�Ф��뤳�Ȥ�
@@ -662,7 +662,7 @@ or��ξ�դμ��Ǥ�ʸ���������ɽ����ƥ��ϼ���$_=~ ��ƥ��פξ�ά��
** WHILE
while ��
- ��
+ ��..
end
����ɾ�������ͤ����δ֡����򷫤��֤��¹Ԥ��롥while�����ͤ�nil�Ǥ��롥
@@ -690,7 +690,7 @@ while�ξ��Ƚ�����μ��Ǥ�ʸ���������ɽ����ƥ��ϼ���$_=~ ��ƥ���
���ƥ졼���Ȥ����湽¤(�ä˥롼��)����ݲ��Τ�����Ѥ�����᥽�åɤ�
���Ǥ��롥���ƥ졼���θƤӽФ��ϰʲ��ι�ʸ�ǹԤʤ��롥
- �� `{' �ѿ�... `|' ��... `}'
+ �� `{' �ѿ�.. `|' ��.. `}'
�ּ��פ�֥��å��Ȥ������ꤷ���ּ��פΥ᥽�åɤ򥤥ƥ졼���Ȥ���ɾ����
�롥�ּ��פΥȥåץ�٥�Υ᥽�åɤ��������ƥ졼���Ȥ��ƸƤӽФ��졤
@@ -722,7 +722,7 @@ Enumerable�⥸�塼���grep�᥽�åɤΤ褦�˥��ƥ졼���Ȥ��ƸƤФ줿����
** YIELD
- yield `(' [�� [`,' ��...]])
+ yield `(' [�� [`,' ��..]])
yield
���ƥ졼������ǥ֥��å��θƤӽФ���Ԥʤ���yield��¹Ԥ����᥽�åɤ�
@@ -740,27 +740,27 @@ yield�ΰ����γ�̤�ۣ��Ǥʤ��¤��ά�Ǥ��롥
fail�ΰ����γ�̤�ۣ��Ǥʤ��¤��ά�Ǥ��롥
-** PROTECT
+** BEGIN
-�������ͽ�����ʤ����֤�ȯ���������ˤ��㳰��ȯ�����롥Ruby�Ǥ��㳰����
-�����ª���ơ��ƻ�Ԥ����ꡤ�������Ԥʤä��ꤹ�뤳�Ȥ��Ǥ��롥
+ʣ���μ���ޤȤ�뤿���begin�������롥begin���η����ϰʲ����̤�Ǥ��롥
- protect
- ��1
+ begin
+ ��..
[resque
- ��2 ]
+ ��.. ]
[ensure
- ��3]
+ ��..]
end
-��1��¹Ԥ������μ¹�����㳰��ȯ�������resque��ǻ��ꤵ�줿��2��¹�
-���롥����ensure�᤬¸�ߤ������protect����λ��������ɬ��(���ェλ��
-�����Ǥʤ����㳰, return, break, continue, redo�ʤɤˤ��æ�ФǤ�)��3
-��¹Ԥ��롥
+begin�����ͤϰ��ֺǸ��ɾ�����줿�����ͤǤ��롥begin���ν������ȯ����
+�������㳰��resque�����ͤ��뤳�Ȥ�����롥���ξ����ͤ�resque���Ǻ�
+���ɾ�����������ͤǤ��롥����ensure�᤬¸�ߤ������begin����λ����
+����ɬ��(���ェλ�������Ǥʤ����㳰, return, break, continue, redo�ʤ�
+�ˤ��æ�ФǤ�)ensure��μ���ɾ�����롥
** RETURN
- return [��[`,' ��...]]
+ return [��[`,' ��..]]
�����ͤ�����ͤȤ��ƥ᥽�åɤμ¹Ԥ�λ���롥����2�İʾ�Ϳ����줿��
�ˤϡ����������ǤȤ��������᥽�åɤ�����ͤȤ��롥������Ĥ�ʤ���
@@ -788,9 +788,9 @@ redo�ϥ롼�׾��Υ����å���Ԥʤ鷺�����ߤη����֤�����ľ����
retry
-protect����resque��ǻȤ���protect����Ϥᤫ��¹Ԥ��롥�㳰������Ԥʤ�
-�Ƥ���ƻ�Ԥ���Τ˻Ȥ���resque��ʳ���retry���Ѥ���줿����㳰��ȯ
-�����롥
+begin����resque��ǻȤ���begin����Ϥᤫ��¹Ԥ��롥�㳰������Ԥʤä�
+����ƻ�Ԥ���Τ˻Ȥ���resque��ʳ���retry���Ѥ���줿����㳰��ȯ��
+���롥
** ���饹���
@@ -820,7 +820,7 @@ protect����resque��ǻȤ���protect����Ϥᤫ��¹Ԥ��롥�㳰������Ԥʤ�
������ϥͥ��ȤǤ��ʤ��Τǡ��᥽�å��������Ǥϥ᥽�å��������ƤӸ�
�ӽФ��ʤ���
- def �᥽�å�̾ [`(' ���� [`,' ����...][`,' `*'���� ] `)']
+ def �᥽�å�̾ [`(' ���� [`,' ����..][`,' `*'���� ] `)']
�������
end
@@ -845,7 +845,7 @@ protect����resque��ǻȤ���protect����Ϥᤫ��¹Ԥ��롥�㳰������Ԥʤ�
�᥽�å�����ˤϤ⤦����ðۥ᥽�åɤ���������롥�ðۥ᥽�åɤȤϤ���
����Υ��֥������Ȥ˸�ͭ�Υ᥽�åɤǤ��롥�����ϰʲ����̤�Ǥ��롥
- def �� `.' �᥽�å�̾ [`(' ���� [`,' ����...][`,' `*'���� ] `)']
+ def �� `.' �᥽�å�̾ [`(' ���� [`,' ����..][`,' `*'���� ] `)']
�������
end
@@ -867,7 +867,7 @@ protect����resque��ǻȤ���protect����Ϥᤫ��¹Ԥ��롥�㳰������Ԥʤ�
¾�Υ⥸�塼��򥤥󥯥롼�ɤ��빽���ϰʲ����̤�Ǥ��롥
- include �⥸�塼��̾ [`,' �⥸�塼��̾...]
+ include �⥸�塼��̾ [`,' �⥸�塼��̾..]
���ߤ������Υ��饹�ޤ��ϥ⥸�塼��(�ȥåץ�٥�Ǥ�Object���饹)�˻�
�ꤷ���⥸�塼��򥤥󥯥롼�ɤ��롥
@@ -977,7 +977,7 @@ Ruby�ˤϸ�̩�ʰ�̣�Ǥϴؿ��Ϥʤ���Kernel���饹�δؿ��᥽�åɤ�(���Ƥ�
�᥽�åɤ����ƥ졼���Ȥ��ƸƤӽФ��줿���˿��������Ǥʤ����˵�
���֤��Ҹ졥
- kill(signal, pid...)
+ kill(signal, pid..)
pid�ǻ��ꤵ�줿�ץ������˥����ʥ�����롥�����ʥ�ϥ����ʥ���
�椫̾���ǻ��ꤹ�롥����ͤ���ĥ����ʥ�(���뤤�ϥ����ʥ�̾��
@@ -1094,7 +1094,7 @@ Ruby�ˤϸ�̩�ʰ�̣�Ǥϴؿ��Ϥʤ���Kernel���饹�δؿ��᥽�åɤ�(���Ƥ�
��`$_'���ͤ򹹿����롥����¾�ξܺ٤˴ؤ��Ƥ�String���饹��sub
�᥽�åɤβ���򻲾ȤΤ��ȡ�
- syscall(num, arg...)
+ syscall(num, arg..)
num�ǻ��ꤵ�줿�ֹ�Υ����ƥॳ�����¹Ԥ��롥��2�����ʹߤ�
���ƥॳ����ΰ����Ȥ����Ϥ���������ʸ����ޤ��������Ǥʤ����
@@ -1104,7 +1104,7 @@ Ruby�ˤϸ�̩�ʰ�̣�Ǥϴؿ��Ϥʤ���Kernel���饹�δؿ��᥽�åɤ�(���Ƥ�
���ޥ�ɤ�¹Ԥ������ν�λ���ơ��������֤���
- trap(command, signal...)
+ trap(command, signal..)
signal�γ����ߤ������ä�����command��¹Ԥ��롥signal�ϥ���
�ʥ�̾�������ʥ���ֹ桥command�Ȥ���"SIG_IGN"�ޤ���"IGNORE"��
@@ -1234,11 +1234,11 @@ Ruby�ˤϸ�̩�ʰ�̣�Ǥϴؿ��Ϥʤ���Kernel���饹�δؿ��᥽�åɤ�(���Ƥ�
����᥽�åɤ����񿿤��ͤȤ���%TRUE���֤��褦�ˤϤʤäƤ���
��)���Ĥޤ�
- if some.method() then .. else .. end
+ if some.method() then ... else ... end
��
- if some.method() == %TRUE then .. else .. end
+ if some.method() == %TRUE then ... else ... end
�ϴ����ˤ�Ʊ���ǤϤʤ���%FALSE�˴ؤ��Ƥϡ����Τ褦�����������
�ʤ���
@@ -1247,7 +1247,7 @@ Ruby�ˤϸ�̩�ʰ�̣�Ǥϴؿ��Ϥʤ���Kernel���饹�δؿ��᥽�åɤ�(���Ƥ�
** Array(���饹)
-������ź���Ȥ�������Υ��饹�Ǥ��롥�����ϰ���Ū�ˤ�����``[...]''��
+������ź���Ȥ�������Υ��饹�Ǥ��롥�����ϰ���Ū�ˤ�����``[..]''��
�Ԥʤ��롥
SuperClass: Object
@@ -1429,7 +1429,7 @@ Methods:
Single Methods:
- Array[item...]
+ Array[item..]
���������ǤȤ���������������롥
@@ -1482,7 +1482,7 @@ SuperClass: Object
Methods:
- call(arg[, ...])
+ call(arg[,..])
�֥��å���¹Ԥ��롥
@@ -1514,7 +1514,7 @@ Private Methods:
Methods:
- new(...)
+ new(..)
���饹�Υ��󥹥��󥹤��������롥¿���ξ�礳�Υ᥽�åɤϥ��֥�
�饹���ðۥ᥽�åɤˤ�äƥ����С��饤�ɤ��졤���饹�ˤ�äư�
@@ -1788,7 +1788,7 @@ Methods:
Single Methods:
- Dict[key, value...]
+ Dict[key, value..]
������ܤΰ�����key���������ܤΰ�����value�Ȥ��뼭����������롥
@@ -2088,12 +2088,12 @@ Single Methods:
filename�κǽ����ơ������ѹ�������֤���
- chmod(mode, path, file...)
+ chmod(mode, path, file..)
�ե�����Υѡ��ߥå������ѹ�����(cf chmod(2))���ѹ������ե�
��������֤���file�ˤϥ磻��ɥ����ɤ������
- chown(owner, group, file...)
+ chown(owner, group, file..)
�ե�����ν�ͭ�Ԥȥ��롼�פ��ѹ�����(cf chown(2))��nil��-1���
�ꤹ�뤳�Ȥˤ�äƽ�ͭ�Ԥ䥰�롼�פ򸽺ߤΤޤ��Ѥ��ʤ��Ǥ�����
@@ -2135,12 +2135,12 @@ Single Methods:
"directory"��"characterSpecial"��"blockSpecial"��"fifo"��
"link"��"socket"�Τ����Τ����줫��ĤǤ��롥
- unlink(file...)
+ unlink(file..)
�ե�����������롥�ǥ��쥯�ȥ�κ���ˤ�Dir.rmdir��Ȥ����ȡ�
file�ˤϥ磻��ɥ����ɤ������
- utime(atime, mtime, file...)
+ utime(atime, mtime, file..)
�ե�����Υ������������atime�ˡ����������mtime�����ꤹ�롥
atime��mtime�Ͽ��ޤ���Time���饹�Υ��󥹥��󥹤Ǥʤ���Фʤ��
@@ -2389,7 +2389,7 @@ Single Methods:
** Glob(���饹)
-�磻��ɥ����ɤΥ��饹���磻��ɥ����ɤΥ�ƥ���<...>�Ȥ��������Ǥ�
+�磻��ɥ����ɤΥ��饹���磻��ɥ����ɤΥ�ƥ���<..>�Ȥ��������Ǥ�
�롥����ɽ���Ȥۤ�Ʊ���褦�˻Ȥ��뤬��������ϵ�ǽ�����ʤ�������������
����ɥ����ɤ�Ÿ����ǽ�����롥
@@ -3363,7 +3363,7 @@ Methods:
print(i, "\n");
end
- �����a, b, c, .. aa, .. az, ba�ޤǤ�ƹԤ˽��Ϥ��롥
+ �����a, b, c, ... aa, ... az, ba�ޤǤ�ƹԤ˽��Ϥ��롥
�����դ��ʤ���Ф����ʤ��Τϡ����ν�λȽ����羮�ط��ǤϤʤ�
@@ -3412,7 +3412,7 @@ Single Methods:
�ܥɥ��������ǡ���¤�Τ�ɽ�����뤿��ˤϰʲ��η�����Ȥ���
struct ��¤��̾
- ���� ..��
+ ����...
end
���������ץ��������Ǥ��η����ǹ�¤�Τ���������櫓�ǤϤʤ���
@@ -3440,7 +3440,7 @@ Methods:
Single Methods:
- new(name, member::value...)
+ new(name, member::value..)
name�Ȥ���̾������Ĺ�¤�Τ��������롥member�Ϲ�¤�ΤΥ��Ф�
ɽ��ʸ����Ǥ��ꡤvalue�Ϥ����ͤǤ��롥�������줿��¤�Τϥ��
@@ -3596,10 +3596,10 @@ Methods:
�����formatʸ����˽��ä�ʸ������Ѵ�������̤��֤���format
ʸ����Ȥ��ƻ���Ǥ����Τ� �ʲ����̤�Ǥ��롥
- %A ������̾��(Sunday, Monday,...)
- %a �����ξ�ά̾(Sun, Mon,...)
- %B ���̾��(January, February,...)
- %b ��ξ�ά̾(Jan, Feb,...)
+ %A ������̾��(Sunday, Monday,..)
+ %a �����ξ�ά̾(Sun, Mon,..)
+ %B ���̾��(January, February,..)
+ %b ��ξ�ά̾(Jan, Feb,..)
%c ����ɽ��(cf ctime(3))
%d ���ʿ��Ǥ���(01-31)
%H 24�������λ�(00-23)
@@ -3802,7 +3802,7 @@ PRIMARY : LITERAL
| for ITER_VAR in EXPR TERM
COMPEXPR
end
- | protect
+ | begin
COMPEXPR
[resque COMPEXPR]
[ensure COMPEXPR]
diff --git a/version.h b/version.h
index d24ad99a31..d8dfe80516 100644
--- a/version.h
+++ b/version.h
@@ -1,2 +1,2 @@
-#define RUBY_VERSION "0.65"
-#define VERSION_DATE "95/02/08"
+#define RUBY_VERSION "0.66"
+#define VERSION_DATE "95/02/09"