Permalink
Browse files

probably fix #5818

  • Loading branch information...
1 parent bf32f25 commit 0f124438a8008eea6d8a9a161968967f29b30e59 @JeffBezanson JeffBezanson committed Feb 14, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 base/env.jl
View
2 base/env.jl
@@ -124,7 +124,7 @@ function next(hash::EnvHash, pos::Ptr{Uint8})
if m == nothing
error("malformed environment entry: $env")
end
- (ByteString[convert(typeof(env),x) for x in m.captures], i+1)
+ (ByteString[convert(typeof(env),x) for x in m.captures], pos+len+1)
end
end

0 comments on commit 0f12443

Please sign in to comment.