Skip to content

Commit

Permalink
removed unneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyapuchka committed Dec 27, 2017
1 parent f84cbb4 commit 6dbbdcb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
12 changes: 0 additions & 12 deletions Sources/Errors.swift
Expand Up @@ -70,15 +70,3 @@ open class SimpleErrorReporter: ErrorReporter {
}

}

extension Range where Bound == String.Index {
internal static var unknown: Range {
return "".range
}
}

extension String {
var range: Range<String.Index> {
return startIndex..<endIndex
}
}
1 change: 0 additions & 1 deletion Sources/Lexer.swift
Expand Up @@ -120,7 +120,6 @@ class Scanner {
}

content = ""
range = "".range
return ""
}

Expand Down

0 comments on commit 6dbbdcb

Please sign in to comment.