mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* node.h (NEW_DSTR): adjust list length.
* parse.y (literal_concat): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
64a1b5c352
commit
cb8a0a8e4b
3 changed files with 10 additions and 3 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,9 @@
|
|||
Tue May 18 14:00:46 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* node.h (NEW_DSTR): adjust list length.
|
||||
|
||||
* parse.y (literal_concat): ditto.
|
||||
|
||||
Mon May 17 16:14:25 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||
|
||||
* numeric.c (flo_to_s): p 0.0 should be '0.0' not '0.0e+00'.
|
||||
|
@ -56,7 +62,7 @@ Sun May 16 22:36:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
|
|||
|
||||
Sun May 16 20:55:49 2004 Tanaka Akira <akr@m17n.org>
|
||||
|
||||
* ext/dbm/dbm.c (fdbm_initialize): accept optional 3rd argument to
|
||||
* ext/dbm/dbm.c (fdbm_initialize): accept optional 3rd argument to
|
||||
specify an open flag.
|
||||
(Init_dbm): define open flags: DBM::READER, DBM::WRITER, DBM::WRCREAT
|
||||
and DBM::NEWDB.
|
||||
|
@ -84,7 +90,7 @@ Fri May 14 22:08:38 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
|
|||
Fri May 14 18:39:25 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||
|
||||
* ext/tk/lib/tk/canvas.rb: improve coords support for canvas items.
|
||||
Now, supports all of the followings.
|
||||
Now, supports all of the followings.
|
||||
TkcLine.new(c, 0, 0, 100, 100, :fill=>'red')
|
||||
TkcLine.new(c, [0, 0, 100, 100], :fill=>'red')
|
||||
TkcLine.new(c, [0, 0], [100, 100], :fill=>'red')
|
||||
|
|
2
node.h
2
node.h
|
@ -295,7 +295,7 @@ typedef struct RNode {
|
|||
#define NEW_MATCH3(r,n2) NEW_NODE(NODE_MATCH3,r,n2,0)
|
||||
#define NEW_LIT(l) NEW_NODE(NODE_LIT,l,0,0)
|
||||
#define NEW_STR(s) NEW_NODE(NODE_STR,s,0,0)
|
||||
#define NEW_DSTR(s) NEW_NODE(NODE_DSTR,s,0,0)
|
||||
#define NEW_DSTR(s) NEW_NODE(NODE_DSTR,s,1,0)
|
||||
#define NEW_XSTR(s) NEW_NODE(NODE_XSTR,s,0,0)
|
||||
#define NEW_DXSTR(s) NEW_NODE(NODE_DXSTR,s,0,0)
|
||||
#define NEW_DSYM(s) NEW_NODE(NODE_DSYM,s,0,0)
|
||||
|
|
1
parse.y
1
parse.y
|
@ -4652,6 +4652,7 @@ literal_concat(head, tail)
|
|||
case NODE_EVSTR:
|
||||
if (htype == NODE_STR) {
|
||||
nd_set_type(head, NODE_DSTR);
|
||||
head->nd_alen = 1;
|
||||
}
|
||||
list_append(head, tail);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue