summary refs log tree commit diff stats
path: root/tests/trmacros/thoist.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-05-05 11:55:53 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-05-05 21:45:07 +0200
commitd8fde9daba32019a35933cb97f482de5cf3669fa (patch)
tree8a53242507f9be2d9ce2df3be112687fd64bafb7 /tests/trmacros/thoist.nim
parentbbb0fd4eb734ed1a0445865077c27b05b46d0cbd (diff)
downloadNim-d8fde9daba32019a35933cb97f482de5cf3669fa.tar.gz
make tests green
Diffstat (limited to 'tests/trmacros/thoist.nim')
-rw-r--r--tests/trmacros/thoist.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/trmacros/thoist.nim b/tests/trmacros/thoist.nim
index 7d14c0abf..657f210a1 100644
--- a/tests/trmacros/thoist.nim
+++ b/tests/trmacros/thoist.nim
@@ -5,7 +5,7 @@ true'''
 
 import pegs
 
-template optPeg{peg(pattern)}(pattern: string{lit}): TPeg =
+template optPeg{peg(pattern)}(pattern: string{lit}): Peg =
   var gl {.global, gensym.} = peg(pattern)
   gl