1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* parse.y (str_extend): change types of second and third arguments

from char to int.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2001-11-25 12:09:36 +00:00
parent 6228c04396
commit 412f5709ef
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Sun Nov 25 21:02:18 2001 Usaku Nakamura <usa@ruby-lang.org>
* parse.y (str_extend): change types of second and third arguments
from char to int.
Thu Nov 22 00:28:13 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (str_extend): should check nesting parentheses in #{}.

View file

@ -2048,7 +2048,7 @@ none : /* none */
static char *tokenbuf = NULL;
static int tokidx, toksiz = 0;
static NODE *str_extend _((NODE*,char,char));
static NODE *str_extend _((NODE*,int,int));
#define LEAVE_BS 1
@ -3879,7 +3879,7 @@ yylex()
static NODE*
str_extend(list, term, paren)
NODE *list;
char term, paren;
int term, paren;
{
int c;
int brace = -1;