Use the new string scanner everywhere

This commit is contained in:
Kovid Goyal
2023-03-08 13:31:27 +05:30
parent b8ce441453
commit f42090766a
7 changed files with 8 additions and 12 deletions

View File

@@ -98,6 +98,8 @@ func (self *StringScanner) Scan() bool {
return true
}
func (self *StringScanner) Err() error { return nil }
func (self *StringScanner) Text() string {
return self.token
}