Jonas Maebe
|
abf89eea0d
* fix conversion of true/false macro definitions to boolean values
|
4 years ago |
Pierre Muller
|
2a3efea7ba
Avoid read past buffer end for empty source when checking for utf-8 signature
|
2 years ago |
florian
|
9f2ab5eb2f
+ new switches -DD and DT which allow to pass an arbitrary string which is used by %DATE%/%TIME%
|
4 years ago |
svenbarth
|
c60ce2af07
--- Merging r43264 into '.':
|
4 years ago |
svenbarth
|
4dca62b568
Merged revision(s) 43114-43115, 46943 from trunk:
|
4 years ago |
pierre
|
7062177e1b
Merge of commit r44056
|
5 years ago |
pierre
|
1f20cfe991
Merge of several commits related to enhancements in PPU writing
|
5 years ago |
pierre
|
baa1603371
------------------------------------------------------------------------
|
5 years ago |
Jonas Maebe
|
846da37c9f
--- Merging r41243 into '.':
|
6 years ago |
Jonas Maebe
|
3ac703506c
* rest of the previous accidental partial commit
|
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 |