Lexical Errors
Lexical errors can be output during the lexical analysis. The lexical analysis is executed before the syntactical analysis which is performed by the textual parsers, e.g., ST parser or data types parser.
During the lexical analysis, the so-called Lexer "tokenizes" textual worksheets as follows: each element contained in the source text is identified and classified as a particular token type, such as keyword, operator, identifier, literal, etc.
The resulting token sequence is then passed to a parser in order to determine which token combination or sequence is allowed and which is invalid. Furthermore, a lexical error is reported if an invalid token is detected that cannot be resolved.
Lexical errors are mostly reported in combination with further parser errors (syntactical errors).
For a list of all possible errors belonging to this category, please refer to the table of content.
Note
Automatic background compilation While editing the project, the compiler is automatically executed after each modification. This way, detected errors are reported without a manual compiler start. The Error List in the message window is only updated after completing the compilation. |