E0001Lexical error
Reported by the compiler as an error or warning.
mettle explain E0001
The compiler could not turn part of the source text into tokens. Typical causes: an unterminated string literal, an invalid numeric literal (e.g. 0x with no digits), or a stray character that is not part of the language.
Example
var s: string = "unterminated;
Fix: close the string, correct the literal, or delete the stray character. The caret in the diagnostic points at the first byte the lexer could not process.