diff options
author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-07-04 14:41:36 +0000 |
---|---|---|
committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-07-04 14:41:36 +0000 |
commit | 02b589fd43b6f83efed31cf59679c421ce17f019 (patch) | |
tree | 27f44fc5a5c813e3c2051e2b9648827a321ffcd3 /parse.y | |
parent | 8e346d8cb19641c2246f52699552f0d8da3a9e0b (diff) | |
download | ruby-02b589fd43b6f83efed31cf59679c421ce17f019.tar.gz |
* 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
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -2294,8 +2294,6 @@ none : /* none */ {$$ = 0;} static char *tokenbuf = NULL; static int tokidx, toksiz = 0; -static int str_extend_p _((void)); - #define LEAVE_BS 1 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* rb_node_newnode(type, a0, a1, a2) enum node_type type; |