svenbarth
|
f90e686be2
Always try to present file/line information for generics even if no source is available or the unit was compiled as release unit. This allows IDE like Lazarus to correctly navigate to an error or warning even if the unit containing the generic was compiled as a release unit.
|
13 anni fa |
svenbarth
|
e0b41141d2
"SizeInt" inside the compiler references the "size of an int" on the Host platform. What we want for writing size information in PPUs for Generics is "ASizeInt" which is the "size of an int" of the target platform. This fixes Mantis #20947.
|
13 anni fa |
pierre
|
261538f9c2
Fix bug report 22265
|
13 anni fa |
pierre
|
41248ea4f7
Hopefully correct fix for ReplayToken TSettings record writes
|
13 anni fa |
pierre
|
1d4862f3c1
* Remove obsolete size check leading to failure for generics tests
|
13 anni fa |
pierre
|
d67d1abcba
* Use field by field write of current_settings for replaytoken and remove packed attribute for tsettings type
|
13 anni fa |
paul
|
d79eee8ed1
compiler: write a warning if unit should be compiled with built-in system codepage for ansistring constants but this codepage is not known by the compiler
|
13 anni fa |
Jonas Maebe
|
50d2fa7134
* after changing a modeswitch, only change related module/localswitches that
|
13 anni fa |
paul
|
aad9294c27
compiler: when explicit codepage modeswitch is installed and compiler has no codepage map for the DefaultSystemCodepage use default compiler codepage
|
13 anni fa |
Jonas Maebe
|
14cfe770a4
* replaced most (if not all) remaining fields/parameters in the compiler
|
13 anni fa |
Jonas Maebe
|
aee5380ae0
* merged trunk up to r20882
|
13 anni fa |
pierre
|
1c27730c8c
* Give debug information once for each conditional directive
|
13 anni fa |
florian
|
99b0421193
+ patch by Seth Grover to support line number macro returning a numerical number, resolves #21372
|
13 anni fa |
Jonas Maebe
|
a6a43c71ec
* give an error message when including a file starting with an UTF-8 BOM
|
13 anni fa |
florian
|
4a79262728
* make asciinr string long enough for binary char constants as pointed out by Matti Kronman, resolves #20821
|
14 anni fa |
paul
|
c6ca9e5091
compiler:
|
14 anni fa |
florian
|
73a084d662
* fixes bootstrapping with 2.6.0
|
14 anni fa |
paul
|
21ac5dfb3b
compiler: output ansistring constants in explicit codepage if codepage is explicitly defined using either $codepage directive or compiler switch or for SystemCodepage modeswitch
|
14 anni fa |
paul
|
a99ffb3097
compiler: apply patches from Inoussa and Jonas:
|
14 anni fa |
paul
|
6f185f2184
compiler: replace {$ifdef FPC_FULLVERSION<20700} with {$ifdef VER2_4} for including ccharset as in other compiler places
|
14 anni fa |
florian
|
a6d01c09aa
* make compiler compilable with 2.4.4 rtl
|
14 anni fa |
florian
|
d7f7a9bb76
* patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346
|
14 anni fa |
Jonas Maebe
|
cf47b8d422
* fixed all known memory leaks in the code added for the JVM port
|
14 anni fa |
pierre
|
10586b19c3
* Reading tsettings field by field
|
14 anni fa |
paul
|
828367bebd
compiler:
|
14 anni fa |
paul
|
4d3da666db
compiler: replace string codepage comparison to numeric. store codepage as number in current settings
|
14 anni fa |
paul
|
f3ebaab222
merge r19075 from cpstrnew branch by paul:
|
14 anni fa |
paul
|
1db610ecbd
merge r17434 from cpstrnew branch by michael:
|
14 anni fa |
pierre
|
47f39748f6
Handle FileIndex/Line/Column for change_nedian in token buffer for generics
|
14 anni fa |
pierre
|
57f3f0a82b
scanner unit:
|
14 anni fa |