diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2018-12-05 11:27:22 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-05 11:27:22 -0800 |
commit | 14223c4b7fc522211132bc14cff2e231abb3c50f (patch) | |
tree | 003d9248711ff79f5249b197e59719b51951bc2f /lib | |
parent | bc8cea26727fd20ad75fa7f0cccbe39ddb4d4c0c (diff) | |
download | Nim-14223c4b7fc522211132bc14cff2e231abb3c50f.tar.gz |
Update parseutils.nim
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pure/parseutils.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/parseutils.nim b/lib/pure/parseutils.nim index f68baaf6b..fb4bc19af 100644 --- a/lib/pure/parseutils.nim +++ b/lib/pure/parseutils.nim @@ -129,8 +129,8 @@ proc parseIdent*(s: string, ident: var string, start = 0): int = result = i-start proc parseIdent*(s: string, start = 0): string = - ## parses an identifier and stores it in ``ident``. - ## Returns the parsed identifier or an empty string in case of an error. + ## parses an identifier and returns it or an empty string in + ## case of an error. result = "" var i = start if i < s.len and s[i] in IdentStartChars: |