зеркало из https://github.com/github/ruby.git
* 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:
Родитель
6228c04396
Коммит
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>
|
||||
|
||||
* 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 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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче