manyloc test should be green again

This commit is contained in:
Araq 2013-06-04 00:58:43 +02:00
commit b767f34b6b
5 changed files with 22 additions and 32 deletions

View file

@ -870,7 +870,6 @@ template `=~`*(s: string, pattern: TPeg): bool =
bind maxSubpatterns
when not definedInScope(matches):
var matches {.inject.}: array[0..maxSubpatterns-1, string]
{.warning: "injected 'matches' might be affected by new scoping rules in 0.9.4".}
match(s, pattern, matches)
# ------------------------- more string handling ------------------------------