File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -690,7 +690,7 @@ sub waitforid {
690
690
# use re qw(Debug EXECUTE);
691
691
# CORE::print("here1\n");
692
692
$regexstr = $_ [0];
693
- $regex = qr { (?(DEFINE)$regexstr )\G\s *+(?&cprogram)} sxx ;
693
+ $regex = qr { (?(DEFINE)$regexstr )\G\s *+(( ?&cprogram)(?(?{pos() >= $nextpos })(*ACCEPT)))*+ } sxx ;
694
694
$subject = $_ [1];
695
695
$fasterregex = $_ [2];
696
696
$threadid = $_ [3];
@@ -874,7 +874,7 @@ sub waitforid {
874
874
# $silent = 1;
875
875
CORE::print (" retrying..." );
876
876
877
- $regex = eval { use re qw( Debug EXECUTE) ; qr { (?(DEFINE)$regexstr )\G\s *+(?&cprogram)} sxx ; };
877
+ $regex = eval { use re qw( Debug EXECUTE) ; qr { (?(DEFINE)$regexstr )\G\s *+(( ?&cprogram)(?(?{pos() >= $nextpos })(*ACCEPT)))*+ } sxx ; };
878
878
}
879
879
$tryingagainlocal = 1;
880
880
$entertryagain = 0;
@@ -996,7 +996,7 @@ sub waitforid {
996
996
my $tryagain = 2;
997
997
my $lasrtypedefobj = {%{$typedefidentifiersvector -> [0]}};
998
998
my $lastposcurrlast = 0;
999
- my $compreg = qr {$initseqlight \G\s *+(?<globaloutter>(?<globalinner>(? &fasterdecls))*+((?&globalinner)(?&globaloutter))?+) } sxx ;
999
+ my $compreg = qr {$initseqlight \G\s *+(?&fasterdecls)*+ } sxx ;
1000
1000
1001
1001
# while(1) {
1002
1002
{
@@ -1023,7 +1023,7 @@ sub waitforid {
1023
1023
}
1024
1024
elsif ($tryagain ++ == 1) {
1025
1025
use re qw( Debug EXECUTE) ;
1026
- $compreg = qr { (?(DEFINE)$finitseqlight )\G\s *+(?<globaloutter>(?<globalinner>(? &fasterdecls))*+((?&globalinner)(?&globaloutter))?+) } sxx ;
1026
+ $compreg = qr { (?(DEFINE)$finitseqlight )\G\s *+(?&fasterdecls)*+ } sxx ;
1027
1027
# CORE::print("trying again with debug\n" . $initseqlight );
1028
1028
pos ($subject ) = $lastposcurrlast ;
1029
1029
goto tryagain_main
You can’t perform that action at this time.
0 commit comments