- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit91cf313
committed
Fix minor bug in regexp makesearch() function.
The list-wrangling here was done wrong, allowing the same state to getput into the list twice. The following loop then would clone it twice.The second clone would wind up with no inarcs, so that there was noobservable misbehavior AFAICT, but a useless state in the finished NFAisn't an especially good thing.1 parent223936e commit91cf313
1 file changed
+12
-7
lines changedLines changed: 12 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
568 | 568 |
| |
569 | 569 |
| |
570 | 570 |
| |
571 |
| - | |
| 571 | + | |
572 | 572 |
| |
573 | 573 |
| |
574 | 574 |
| |
575 | 575 |
| |
576 | 576 |
| |
| 577 | + | |
577 | 578 |
| |
578 | 579 |
| |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
579 | 588 |
| |
580 | 589 |
| |
581 |
| - | |
582 |
| - | |
583 |
| - | |
584 |
| - | |
585 |
| - | |
| 590 | + | |
586 | 591 |
| |
587 | 592 |
| |
588 | 593 |
| |
| |||
601 | 606 |
| |
602 | 607 |
| |
603 | 608 |
| |
604 |
| - | |
| 609 | + | |
605 | 610 |
| |
606 | 611 |
| |
607 | 612 |
| |
|
0 commit comments
Comments
(0)