diff options
| author | Omar Rizwan <omar@omar.website> | 2023-01-24 09:55:57 +0000 |
|---|---|---|
| committer | Omar Rizwan <omar@omar.website> | 2023-01-24 09:55:57 +0000 |
| commit | 58cb097c8a2ea48f2e7a20c68373a96a70fec41d (patch) | |
| tree | ecfb14e7cbf8c11e093d2aadee3dac6b9122bed2 /virtual-programs | |
| parent | Start on threading support (diff) | |
| download | folk-58cb097c8a2ea48f2e7a20c68373a96a70fec41d.tar.gz folk-58cb097c8a2ea48f2e7a20c68373a96a70fec41d.zip | |
More thread work. Make matchId a global -- hopefully improves perf.
Diffstat (limited to 'virtual-programs')
| -rw-r--r-- | virtual-programs/with-all.folk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virtual-programs/with-all.folk b/virtual-programs/with-all.folk index 6eb3a21e..e7bbec8f 100644 --- a/virtual-programs/with-all.folk +++ b/virtual-programs/with-all.folk @@ -24,7 +24,7 @@ When /someone/ wishes to collect matches for /clause/ { set matches [dict get $::collectedMatches $clause] Say the collected matches for $clause are [dict keys $matches] } - } $clause $__matchId] + } $clause $::matchId] } On unmatch { dict unset ::collectedMatches $clause } } |
