04529b0584
This previous problems should be gone now. (ruby svn r18485 and r22679) Thanks to Jeremy Evans!
19 lines
772 B
Plaintext
19 lines
772 B
Plaintext
$OpenBSD: patch-node_h,v 1.3 2009/03/07 12:30:17 bernd Exp $
|
|
|
|
Fix usage of short-named constants.
|
|
|
|
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18485
|
|
https://bugs.launchpad.net/ubuntu/+source/ruby1.8/+bug/282302
|
|
|
|
--- node.h.orig Mon Jul 7 08:01:50 2008
|
|
+++ node.h Tue Jan 27 09:46:14 2009
|
|
@@ -319,7 +319,7 @@ extern NODE *ruby_top_cref;
|
|
#define NEW_MODULE(n,b) NEW_NODE(NODE_MODULE,n,NEW_SCOPE(b),0)
|
|
#define NEW_COLON2(c,i) NEW_NODE(NODE_COLON2,c,i,0)
|
|
#define NEW_COLON3(i) NEW_NODE(NODE_COLON3,0,i,0)
|
|
-#define NEW_CREF(c) (NEW_NODE(NODE_CREF,0,0,c))
|
|
+#define NEW_CREF(c,n) NEW_NODE(NODE_CREF,c,0,n)
|
|
#define NEW_DOT2(b,e) NEW_NODE(NODE_DOT2,b,e,0)
|
|
#define NEW_DOT3(b,e) NEW_NODE(NODE_DOT3,b,e,0)
|
|
#define NEW_ATTRSET(a) NEW_NODE(NODE_ATTRSET,a,0,0)
|