From a790a9664eb9cfa79b01df35eaf1946d6d8edd75 Mon Sep 17 00:00:00 2001 From: Fatih Arslan Date: Wed, 7 Oct 2015 15:06:02 +0300 Subject: [PATCH] scanner: remove non used function --- scanner/scanner.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/scanner/scanner.go b/scanner/scanner.go index 35cb427..41f5b21 100644 --- a/scanner/scanner.go +++ b/scanner/scanner.go @@ -494,11 +494,6 @@ func isDigit(ch rune) bool { return '0' <= ch && ch <= '9' || ch >= 0x80 && unicode.IsDigit(ch) } -// isHexadecimal returns true if the given rune is an octan number -func isOctal(ch rune) bool { - return '0' <= ch && ch <= '7' -} - // isHexadecimal returns true if the given rune is a decimal number func isDecimal(ch rune) bool { return '0' <= ch && ch <= '9'