mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* parse.y: remove useless function str_extend_p().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8e346d8cb1
commit
02b589fd43
2 changed files with 4 additions and 18 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Thu Jul 4 23:43:26 2002 Minero Aoki <aamine@loveruby.net>
|
||||||
|
|
||||||
|
* parse.y: remove useless function str_extend_p().
|
||||||
|
|
||||||
Wed Jul 3 14:26:40 2002 Sean Chittenden <sean@ruby-lang.org>
|
Wed Jul 3 14:26:40 2002 Sean Chittenden <sean@ruby-lang.org>
|
||||||
|
|
||||||
* lib/net/ftp.rb (get): new method.
|
* lib/net/ftp.rb (get): new method.
|
||||||
|
|
18
parse.y
18
parse.y
|
@ -2294,8 +2294,6 @@ none : /* none */ {$$ = 0;}
|
||||||
static char *tokenbuf = NULL;
|
static char *tokenbuf = NULL;
|
||||||
static int tokidx, toksiz = 0;
|
static int tokidx, toksiz = 0;
|
||||||
|
|
||||||
static int str_extend_p _((void));
|
|
||||||
|
|
||||||
#define LEAVE_BS 1
|
#define LEAVE_BS 1
|
||||||
|
|
||||||
static VALUE (*lex_gets)(); /* gets function */
|
static VALUE (*lex_gets)(); /* gets function */
|
||||||
|
@ -4195,22 +4193,6 @@ yylex()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
|
||||||
str_extend_p()
|
|
||||||
{
|
|
||||||
int c = nextc(), t = 0;
|
|
||||||
switch (c) {
|
|
||||||
case '$':
|
|
||||||
case '@':
|
|
||||||
t = tSTRING_DVAR;
|
|
||||||
case '{':
|
|
||||||
t = tSTRING_DBEG;
|
|
||||||
}
|
|
||||||
pushback(c);
|
|
||||||
pushback('#');
|
|
||||||
return t;
|
|
||||||
}
|
|
||||||
|
|
||||||
NODE*
|
NODE*
|
||||||
rb_node_newnode(type, a0, a1, a2)
|
rb_node_newnode(type, a0, a1, a2)
|
||||||
enum node_type type;
|
enum node_type type;
|
||||||
|
|
Loading…
Reference in a new issue