aboutsummaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y18
1 files changed, 0 insertions, 18 deletions
diff --git a/parse.y b/parse.y
index c71dc92646..ef5db61dfb 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;