summaryrefslogtreecommitdiff
path: root/node.h
diff options
context:
space:
mode:
authorYukihiro Matsumoto <matz@ruby-lang.org>1995-02-09 16:18:37 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-08-17 22:09:31 +0900
commitc080fb6d10bbcb697b6ba16e640de8db3f1973d0 (patch)
tree2df6299a382a47f1bed94ea2c8dedc64113d79c9 /node.h
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は例外処理だけでなく, 文括弧としても働くことになった.
Diffstat (limited to 'node.h')
-rw-r--r--node.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/node.h b/node.h
index 8137995..f98be64 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)