From 0c05177388c408e9411f3956be24ad68e305eb1a Mon Sep 17 00:00:00 2001 From: Araq Date: Fri, 1 Apr 2011 00:40:02 +0200 Subject: [PATCH] fixes #28 --- tests/accept/run/tkoeniglookup.nim | 2 +- tools/buildsh.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/accept/run/tkoeniglookup.nim b/tests/accept/run/tkoeniglookup.nim index 59fea2f42..07c5b46be 100644 --- a/tests/accept/run/tkoeniglookup.nim +++ b/tests/accept/run/tkoeniglookup.nim @@ -2,7 +2,7 @@ discard """ output: '''x: 0 y: 0''' """ -proc ToString[T]*(x: T): string = return $x +proc ToString*[T](x: T): string = return $x type diff --git a/tools/buildsh.tmpl b/tools/buildsh.tmpl index e763a5c05..8893f4da0 100755 --- a/tools/buildsh.tmpl +++ b/tools/buildsh.tmpl @@ -12,7 +12,7 @@ ucpu=`uname -m` uos=`uname` # add(result, "# convert to lower case:\n") -upcu=`echo $ucpu | tr "[:upper:]" "[:lower:]"` +ucpu=`echo $ucpu | tr "[:upper:]" "[:lower:]"` uos=`echo $uos | tr "[:upper:]" "[:lower:]"` case $uos in