summaryrefslogtreecommitdiff
path: root/perlapi.c
diff options
context:
space:
mode:
authorRoca, Ignasi <ignasi.roca@fujitsu.siemens.es>2000-10-20 15:17:27 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2000-10-20 20:44:31 +0000
commitb73d6f5067e468c85b81d9c800ab577f770b45b3 (patch)
tree26fbd8edbcc23dfd82cd6a2bf06816b43348391c /perlapi.c
parent20141f0ebfa7c09c3e5e502bba1c4e6e40b3072c (diff)
downloadperl-b73d6f5067e468c85b81d9c800ab577f770b45b3.tar.gz
Make scan_num() reëntrant, as suggested in
Subject: [PATCH perl@7229] Rentrant parser and yylex() Message-ID: <5930DC161690D211966700902715754702DA09CD@madt009a.siemens.es> p4raw-id: //depot/perl@7382
Diffstat (limited to 'perlapi.c')
-rw-r--r--perlapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/perlapi.c b/perlapi.c
index 39a13ba60e..9eb4175051 100644
--- a/perlapi.c
+++ b/perlapi.c
@@ -2652,9 +2652,9 @@ Perl_scan_hex(pTHXo_ char* start, I32 len, I32* retlen)
#undef Perl_scan_num
char*
-Perl_scan_num(pTHXo_ char* s)
+Perl_scan_num(pTHXo_ char* s, YYSTYPE *lvalp)
{
- return ((CPerlObj*)pPerl)->Perl_scan_num(s);
+ return ((CPerlObj*)pPerl)->Perl_scan_num(s, lvalp);
}
#undef Perl_scan_oct