Lexer Diagnostics
Prefix for all diagnostics produces by the Lexer: L
L001
: Unknown Token
Level: Error
The Lexer encountered an unknown token.
Example:
^ ; a caret character is not valid in Papyrus
L002
: ParseIntError
Level: Error
An integer could not be parsed. This error is part of the Rust Standard Library: std::num::ParseIntError.
Example:
x = 2147483648 ; positive integer overflow
x = -2147483649 ; negative integer overflow
L003
: ParseFloatError
Level: Error
A floating point number could not be parsed. This error is part of the Rust Standard Library: std::num::ParseFloatError
L004
: Number is not finite
Level: Error
A floating point number could not be parsed because it is either Infinite or Not-a-Number (NaN).
Example:
x = 3402823470000000000000000000000000000000.0 ; positive infinity
x = -3402823470000000000000000000000000000000.0 ; negative infinity