From 38d19f9b9715d4f921102ea5acdc7daca93ff0d7 Mon Sep 17 00:00:00 2001 From: aamine Date: Thu, 4 Jul 2002 14:41:36 +0000 Subject: * parse.y: remove useless function str_extend_p(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- parse.y | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'parse.y') diff --git a/parse.y b/parse.y index c71dc9264..ef5db61df 100644 --- a/parse.y +++ b/parse.y @@ -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; -- cgit