diff options
author | Roca, Ignasi <ignasi.roca@fujitsu.siemens.es> | 2000-10-20 15:17:27 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-10-20 20:44:31 +0000 |
commit | b73d6f5067e468c85b81d9c800ab577f770b45b3 (patch) | |
tree | 26fbd8edbcc23dfd82cd6a2bf06816b43348391c /perly.y | |
parent | 20141f0ebfa7c09c3e5e502bba1c4e6e40b3072c (diff) | |
download | perl-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 'perly.y')
-rw-r--r-- | perly.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -266,7 +266,7 @@ nexpr : /* NULL */ ; texpr : /* NULL means true */ - { (void)scan_num("1"); $$ = yylval.opval; } + { (void)scan_num("1", &yylval); $$ = yylval.opval; } | expr ; |