maciej-izak
|
631d4a2d53
* Move global variable in_preproc_comp_expr into tscannerfile class.
|
vor 8 Jahren |
maciej-izak
|
6d1ad52dc5
* for symbols used in preprocessor expressions, we don't want to increase references count (for smaller final binaries). Partial fix for problem presented in mantis 31675. Preprocessor functions like declared() in uses section will work only for symbols declared in implicytly included modules (for example like for heaptrc by option -gh, see example/test tw31675.pp)
|
vor 8 Jahren |
svenbarth
|
c552b2957a
* implement support for 4 Byte UTF-8 codepoints that result in a surrogate pair for UTF-16
|
vor 8 Jahren |
pierre
|
e87cc28b64
Replaced owner field by fileindex field in tpreprocstack class, in order to display correct include file for scan_e_endif_expected error
|
vor 8 Jahren |
yury
|
2387ea1ee0
* Removed unneeded var assignment.
|
vor 8 Jahren |
florian
|
3d6d5145bf
* fix handling of const string symbols in preprocessor expressions
|
vor 8 Jahren |
florian
|
8c701eaa7b
* reset c in dir_include if it will be re-read
|
vor 8 Jahren |
nickysn
|
c2305809dc
+ added an i8086-embedded target support to the compiler (RTL and makefile
|
vor 9 Jahren |
svenbarth
|
f8def6dbc9
Store and use procedure directives of generic routines.
|
vor 9 Jahren |
florian
|
e566fe1938
* tscannerfile.readoptionalstate can handle also switches enclosed in (* ... *) comments
|
vor 9 Jahren |
svenbarth
|
d24065c529
Fix compilation of the JEDI package. Old Delphi versions have {$WEAKPACKAGEUNIT} while newer ones also seem to allow {$WEAKPACKAGENUNIT ON}... :/ (analogous for DENYPACKAGEUNIT...)
|
vor 9 Jahren |
sergei
|
f69f6336e9
* Replaced hacks with resetting 'c' to zero and decreasing inputpointer by boolean parameter to skipcomment and skipoldtpcomment. This parameter specifies whether first character of comment should be read.
|
vor 9 Jahren |
sergei
|
bbfbab7e0c
* Moved handling of comments and line breaks in assembler blocks from scanner to tokenizer level. Handling them at character level was causing compiler to accept comments in the middle of any assembler token, which should never happen. It was also causing Mantis #27459: a newline immediately after closing 'end' token was first handled in asmgetchar and then by normal parser, causing all subsequent line numbering to be off by one.
|
vor 9 Jahren |
florian
|
70b8789262
o basic extended pascal support:
|
vor 9 Jahren |
Jonas Maebe
|
cebcf0afa8
* add "doregister" parameter to tfloatdef.create, and don't register temporary
|
vor 10 Jahren |
Jonas Maebe
|
b22e2ef400
* add "doregister" parameter to tsetdef.create, and don't register temporary
|
vor 10 Jahren |
Jonas Maebe
|
e921d7847a
* add "doregister" parameter to tstringdef.create*, and don't register
|
vor 10 Jahren |
Jonas Maebe
|
2778bf55c7
* add "doregister" parameter to torddef.create, and don't register temporary
|
vor 10 Jahren |
Jonas Maebe
|
a1ed7cc162
* addending to r31831: disable cs_systemcodepage if the source file code page
|
vor 10 Jahren |
Jonas Maebe
|
2cf8e50771
* fixed unwanted disabling of a codepage set via -FcXXX/{$codepage XXX}
|
vor 10 Jahren |
yury
|
432248cbf1
* Removed lot of unused vars.
|
vor 10 Jahren |
svenbarth
|
267adf4e46
scanner.pas, tscanner:
|
vor 10 Jahren |
svenbarth
|
5b216cca08
scanner.pas, tscanner:
|
vor 10 Jahren |
florian
|
b61fd60b9d
+ support for {$I %CURRENTROUTINE%}
|
vor 10 Jahren |
florian
|
afa5546ff8
* aktcommentstyle => current_commentstyle
|
vor 10 Jahren |
Jonas Maebe
|
146e3bcb9e
* synchronised with trunk till r29513
|
vor 10 Jahren |
Jonas Maebe
|
e97f31541e
- reverted partial commit of merge
|
vor 10 Jahren |
Jonas Maebe
|
a76bbf363d
* synchronised with trunk r29513
|
vor 10 Jahren |
pierre
|
32cdcb8930
Remove wrong error message, Pascal Didier
|
vor 10 Jahren |
florian
|
b7a1418065
* skip <type>(<expr>) in the cond. expression parser if eval is false
|
vor 10 Jahren |