Closed dersebi closed 13 years ago
This patch makes gohaml compile on a current go release:
diff --git a/lib/parser.go b/lib/parser.go index dd59dd7..af6f7eb 100644 --- a/lib/parser.go +++ b/lib/parser.go @@ -336,7 +336,7 @@ func scan(v *yystype) (output int) { v.i, _ = strconv.Atoi(s.TokenText()) case scanner.Float: output = atom - v.i, _ = strconv.Atof(s.TokenText()) + v.i, _ = strconv.Atof64(s.TokenText()) case scanner.EOF: output = eof default:
Fixed with commit 90da4279c50ba76614fc
This patch makes gohaml compile on a current go release: