Jonas Maebe
|
ba22fe74c7
* don't corrupt the assembler reader mode on i386 and i8086 if the syntax
|
6 years ago |
Jonas Maebe
|
dee1056546
* fixed wrong change of jumpalignmax from 10 to 16 in previous commit
|
6 years ago |
florian
|
0d50a63c7d
+ tsettings.tlsmodel
|
6 years ago |
florian
|
a092da723a
+ new fields for more precise control of alignment
|
6 years ago |
Jonas Maebe
|
0b246f3dbd
* converted Boolean8 to an internal type, and mapped Boolean to the
|
6 years ago |
nickysn
|
a38e9ff12e
* if an include file name ends in dot, and the file is not found, also search
|
7 years ago |
svenbarth
|
f077c7d950
+ add support for Unicode code point constants > $FFFF; they are converted to a surrogate pair so they are in
|
7 years ago |
florian
|
c671683e80
+ patch by Denis Kozlov to add date/time tokens: %DATEYEAR%, %DATEMONTH%, %DATEDAY%, %TIMEHOUR%, %TIMEMINUTE%, %TIMESECOND%
|
7 years ago |
Jonas Maebe
|
5f7d3e16f5
* increase comment nesting level when "(*" is followed by another '*'
|
7 years ago |
maciej-izak
|
751bde9792
Revert revision 36436 from trunk. Final fix for issue #31675.
|
8 years ago |
maciej-izak
|
d3d29fa84c
Revert revisions 36133, 36128 from trunk.
|
8 years ago |
maciej-izak
|
631d4a2d53
* Move global variable in_preproc_comp_expr into tscannerfile class.
|
8 years ago |
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)
|
8 years ago |
svenbarth
|
c552b2957a
* implement support for 4 Byte UTF-8 codepoints that result in a surrogate pair for UTF-16
|
8 years ago |
pierre
|
e87cc28b64
Replaced owner field by fileindex field in tpreprocstack class, in order to display correct include file for scan_e_endif_expected error
|
8 years ago |
yury
|
2387ea1ee0
* Removed unneeded var assignment.
|
8 years ago |
florian
|
3d6d5145bf
* fix handling of const string symbols in preprocessor expressions
|
8 years ago |
florian
|
8c701eaa7b
* reset c in dir_include if it will be re-read
|
8 years ago |
nickysn
|
c2305809dc
+ added an i8086-embedded target support to the compiler (RTL and makefile
|
9 years ago |
svenbarth
|
f8def6dbc9
Store and use procedure directives of generic routines.
|
9 years ago |
florian
|
e566fe1938
* tscannerfile.readoptionalstate can handle also switches enclosed in (* ... *) comments
|
9 years ago |
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...)
|
9 years ago |
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.
|
9 years ago |
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.
|
9 years ago |
florian
|
70b8789262
o basic extended pascal support:
|
9 years ago |
Jonas Maebe
|
cebcf0afa8
* add "doregister" parameter to tfloatdef.create, and don't register temporary
|
9 years ago |
Jonas Maebe
|
b22e2ef400
* add "doregister" parameter to tsetdef.create, and don't register temporary
|
9 years ago |
Jonas Maebe
|
e921d7847a
* add "doregister" parameter to tstringdef.create*, and don't register
|
9 years ago |
Jonas Maebe
|
2778bf55c7
* add "doregister" parameter to torddef.create, and don't register temporary
|
9 years ago |
Jonas Maebe
|
a1ed7cc162
* addending to r31831: disable cs_systemcodepage if the source file code page
|
9 years ago |