diff options
author | Araq <rumpf_a@web.de> | 2014-08-11 20:38:28 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-08-11 20:38:28 +0200 |
commit | dd806cafa0193acb9e79fdd47ec6810da3c48272 (patch) | |
tree | b42f7aacdd844e9402a3308e363f71e14db8b78a /lib/impure/re.nim | |
parent | b1c8461a3b738cb4383b2e23ba24f36960a8604c (diff) | |
download | Nim-dd806cafa0193acb9e79fdd47ec6810da3c48272.tar.gz |
distinguish between 'defined' and 'declared'
Diffstat (limited to 'lib/impure/re.nim')
-rw-r--r-- | lib/impure/re.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/impure/re.nim b/lib/impure/re.nim index f6511dab4..ac07b2d6b 100644 --- a/lib/impure/re.nim +++ b/lib/impure/re.nim @@ -243,7 +243,7 @@ template `=~` *(s: string, pattern: TRegex): expr = ## echo("syntax error") ## bind maxSubPatterns - when not definedInScope(matches): + when not declaredInScope(matches): var matches {.inject.}: array[0..MaxSubpatterns-1, string] match(s, pattern, matches) |