Lexical diagnostics use the E1000-E1999 range.
Trigger:
program Demo; @
Expected compiler output:
E1000 demo.nsp:1:15
Unexpected character: '@'.
$ prefix is not followed by a hexadecimal digit.Trigger:
Color := $;
Expected compiler output:
E1002 demo.nsp:1:10
Hexadecimal literal has no digits after '$'.
$00.