diff options
Diffstat (limited to 'pkg/lang/scanner/errors.go')
| -rw-r--r-- | pkg/lang/scanner/errors.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/pkg/lang/scanner/errors.go b/pkg/lang/scanner/errors.go index dd9aae3..6a6f9d9 100644 --- a/pkg/lang/scanner/errors.go +++ b/pkg/lang/scanner/errors.go @@ -7,15 +7,6 @@ var ( ErrUnclosedString = errors.New("unclosed string") ) -type ErrUnexpectedChar struct { - Expected rune - Actual rune -} - -func (e ErrUnexpectedChar) Error() string { - return "unexpected character: expected " + string(e.Expected) + ", actual " + string(e.Actual) -} - type ErrUnknownChar struct { Char rune } |
