diff options
author | Araq <rumpf_a@web.de> | 2012-09-08 15:43:21 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-09-08 15:43:21 +0200 |
commit | b64eeeb4303953f9fe1135cb9c3c61e23ec55afa (patch) | |
tree | 0f994de4a02afd9bed14dafcac24a3dd2df99d0d /tests/run | |
parent | 355ae07b8f3362af4e90770477d344dcd2fef594 (diff) | |
download | Nim-b64eeeb4303953f9fe1135cb9c3c61e23ec55afa.tar.gz |
term rewriting improvements
Diffstat (limited to 'tests/run')
-rw-r--r-- | tests/run/tpatterns.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run/tpatterns.nim b/tests/run/tpatterns.nim index 4a83d167c..6bc8772e3 100644 --- a/tests/run/tpatterns.nim +++ b/tests/run/tpatterns.nim @@ -4,7 +4,7 @@ hel''' """ template optZero{x+x}(x: int): int = x*3 -template andthen{x*3}(x: int): int = x*4 +template andthen{`*`(x,3)}(x: int): int = x*4 template optSubstr1{x = substr(x, a, b)}(x: string, a, b: int) = setlen(x, b+1) var y = 12 |