* 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:
parent
6228c04396
commit
412f5709ef
@ -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>
|
Thu Nov 22 00:28:13 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* parse.y (str_extend): should check nesting parentheses in #{}.
|
* parse.y (str_extend): should check nesting parentheses in #{}.
|
||||||
|
4
parse.y
4
parse.y
@ -2048,7 +2048,7 @@ none : /* none */
|
|||||||
static char *tokenbuf = NULL;
|
static char *tokenbuf = NULL;
|
||||||
static int tokidx, toksiz = 0;
|
static int tokidx, toksiz = 0;
|
||||||
|
|
||||||
static NODE *str_extend _((NODE*,char,char));
|
static NODE *str_extend _((NODE*,int,int));
|
||||||
|
|
||||||
#define LEAVE_BS 1
|
#define LEAVE_BS 1
|
||||||
|
|
||||||
@ -3879,7 +3879,7 @@ yylex()
|
|||||||
static NODE*
|
static NODE*
|
||||||
str_extend(list, term, paren)
|
str_extend(list, term, paren)
|
||||||
NODE *list;
|
NODE *list;
|
||||||
char term, paren;
|
int term, paren;
|
||||||
{
|
{
|
||||||
int c;
|
int c;
|
||||||
int brace = -1;
|
int brace = -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user