summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2015-10-27 23:38:25 +0100
committerAraq <rumpf_a@web.de>2015-10-27 23:38:25 +0100
commitc02e7954af199a0885d0712cfb0db1cd78755fd4 (patch)
tree23340b9c4407183aabed0188a0ad837feb83337b
parentf03ce85518e2b95d86c6d93945712f985cf03335 (diff)
parent3892969af4a3c6f509b553f07b2a7f37aa8de967 (diff)
downloadNim-c02e7954af199a0885d0712cfb0db1cd78755fd4.tar.gz
Merge branch 'devel' of https://github.com/nim-lang/Nim into devel
-rw-r--r--lib/pure/pegs.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/pegs.nim b/lib/pure/pegs.nim
index 28f6a17e6..fead66de2 100644
--- a/lib/pure/pegs.nim
+++ b/lib/pure/pegs.nim
@@ -886,7 +886,7 @@ proc startsWith*(s: string, prefix: Peg, start = 0): bool {.
 
 proc endsWith*(s: string, suffix: Peg, start = 0): bool {.
   nosideEffect, rtl, extern: "npegs$1".} =
-  ## returns true if `s` ends with the pattern `prefix`
+  ## returns true if `s` ends with the pattern `suffix`
   var c: Captures
   c.origStart = start
   for i in start .. s.len-1: