package scanner type ErrorHandler func(pos FilePos, msg string)