The NextNonCommentCharacter function reads and processes characters from the source line buffer. It returns pointer to the next non-comment character.
|
This procedure processes compiler directives and skips comment. Here also conditional compilation directives (with support for nested directives) are processed.
|
Turbo Pascal contains few procedures and functions that create and check conditional defines.
|
Parser operates only with tokens - basic elements of the language. Tokens like identifiers and constants have also additional data structures where actual data is stored.
|
These two functions check and process decimal and hexadecimal integer constants. The value is stored in the IntegerNumericConstant variable.
|
This function checks and processes string constants. It processes characters enclosed with single quotes, control characters and characters defined with the ASCII code (#code).
|
Turbo Pascal uses few special words as directives for special functions: ABSOLUTE, ASSEMBLER, EXTERNAL, FAR, FORWARD, INTERRUPT, NEAR, PRIVATE, PUBLIC, VIRTUAL and System as unit name.
|
This function case insensitive compares two identifiers and returns false if they are not equal. Otherwise returns true and Id2 points to byte after its end.
|