diff options
author | Mark Murray <markm@FreeBSD.org> | 2002-03-16 20:14:30 +0000 |
---|---|---|
committer | Mark Murray <markm@FreeBSD.org> | 2002-03-16 20:14:30 +0000 |
commit | fc75d0664419eb8c8f264d8f298df2cd155c8966 (patch) | |
tree | 4cf1274fa3ca68f7ecf6a3051e0c2243e378afc5 /contrib/perl5/perly.y | |
parent | 8947993a910c7e5d244200623325b9fcb54a9eee (diff) | |
download | src-fc75d0664419eb8c8f264d8f298df2cd155c8966.tar.gz src-fc75d0664419eb8c8f264d8f298df2cd155c8966.zip |
Vendor import Perl 5.6.1
Notes
Notes:
svn path=/vendor/perl5/dist/; revision=92442
Diffstat (limited to 'contrib/perl5/perly.y')
-rw-r--r-- | contrib/perl5/perly.y | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/perl5/perly.y b/contrib/perl5/perly.y index 5170b365f3e0..f9c5c5f60696 100644 --- a/contrib/perl5/perly.y +++ b/contrib/perl5/perly.y @@ -1,6 +1,6 @@ /* perly.y * - * Copyright (c) 1991-2000, Larry Wall + * Copyright (c) 1991-2001, Larry Wall * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. @@ -61,6 +61,7 @@ static void yydestruct(pTHXo_ void *ptr); #ifdef USE_PURE_BISON #define YYLEX_PARAM (&yychar) +#define yylex yylex_r #endif %} @@ -266,7 +267,7 @@ nexpr : /* NULL */ ; texpr : /* NULL means true */ - { (void)scan_num("1"); $$ = yylval.opval; } + { (void)scan_num("1", &yylval); $$ = yylval.opval; } | expr ; |