diff options
author | Steve Hay <SteveHay@planit.com> | 2005-07-12 09:01:11 +0000 |
---|---|---|
committer | Steve Hay <SteveHay@planit.com> | 2005-07-12 09:01:11 +0000 |
commit | 4b711db359c9778a062571f88eafc4dab0b9c81d (patch) | |
tree | 3a48c77416eabd4378383e7cffe1b4e0ada8c01f /perly.c | |
parent | 5b6a3331e95aaaac258e709109a5361f19459b02 (diff) | |
download | perl-4b711db359c9778a062571f88eafc4dab0b9c81d.tar.gz |
Missed a New() -> Newx().
This one only had 3 args to start with! Presumably nobody uses
YYERROR_VERBOSE. (The yystpcpy() calls don't look right either,
but someone else that is interested in YYERROR_VERBOSE will have
to look into that.)
p4raw-id: //depot/perl@25119
Diffstat (limited to 'perly.c')
-rw-r--r-- | perly.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -567,7 +567,7 @@ Perl_yyparse (pTHX) yysize += yystrlen (yytname[yyx]) + 15, yycount++; yysize += yystrlen ("syntax error, unexpected ") + 1; yysize += yystrlen (yytname[yytype]); - New(yymsg, yysize, char *); + Newx(yymsg, yysize, char *); if (yymsg != 0) { const char *yyp = yystpcpy (yymsg, "syntax error, unexpected "); yyp = yystpcpy (yyp, yytname[yytype]); |