florian
|
0e41df598e
* merge i8086 branch by Nikolay Nikolov
|
пре 12 година |
florian
|
7ac7d8a4b6
+ define UNICODE as well as FPC_UNICODESTRINGS
|
пре 12 година |
Jonas Maebe
|
8b7071c8e8
* fixed recording generics token line info on big endian systems
|
пре 12 година |
florian
|
d4613fe961
* update init_settings.setalloc in SetCompileMode if changeinit is set
|
пре 12 година |
florian
|
20a534e63f
* fixed code which causes range check errors when compiled with -Cr
|
пре 12 година |
nickysn
|
7d212a7e79
* default to intel assembler for delphi/tp7 modes also on i8086
|
пре 12 година |
paul
|
3682fddc49
compiler: minor optimization of tscannerfile.recordtoken
|
пре 12 година |
paul
|
2a3618fb6c
compiler: set apptype using new SetAppType routine, add 'CONSOLE' define for console apptype.
|
пре 12 година |
paul
|
8db6118965
compiler: define FPC_UNICODESTRINGS when UnicodeString is a default string type (for issue #0023861)
|
пре 12 година |
svenbarth
|
d49b4043ab
Implement DECLARED() for generic symbols. This fixes Mantis #21829 . The syntax is SomeGenericType<> for a generic with only one type parameter and SomeGeneric<,[,]*> for a generic with more than one type parameter. Spaces between the commas or brackets are allowed.
|
пре 12 година |
svenbarth
|
632db2229f
Fix for Mantis #23700 .
|
пре 12 година |
svenbarth
|
b5827ce363
Move the handling of "misstyled" floating point constants like "2." or "2.e10" from the scanner to the parser. This way type helpers calls for integer constants can be parsed correctly in the future.
|
пре 12 година |
florian
|
f25f44605e
- get rid of m_all, use a set instead for tokens, this allows to disable/enable tokens depending on the language mode
|
пре 13 година |
paul
|
57da93dd11
compiler: don't reject utf-8 codepage as default althought it is not present in mapping tables
|
пре 13 година |
Jonas Maebe
|
07ebc51b6c
* always store generics token streams in little endian, so we don't have to
|
пре 13 година |
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 година |
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 година |
pierre
|
261538f9c2
Fix bug report 22265
|
пре 13 година |
pierre
|
41248ea4f7
Hopefully correct fix for ReplayToken TSettings record writes
|
пре 13 година |
pierre
|
1d4862f3c1
* Remove obsolete size check leading to failure for generics tests
|
пре 13 година |
pierre
|
d67d1abcba
* Use field by field write of current_settings for replaytoken and remove packed attribute for tsettings type
|
пре 13 година |
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 година |
Jonas Maebe
|
50d2fa7134
* after changing a modeswitch, only change related module/localswitches that
|
пре 13 година |
paul
|
aad9294c27
compiler: when explicit codepage modeswitch is installed and compiler has no codepage map for the DefaultSystemCodepage use default compiler codepage
|
пре 13 година |
Jonas Maebe
|
14cfe770a4
* replaced most (if not all) remaining fields/parameters in the compiler
|
пре 13 година |
Jonas Maebe
|
aee5380ae0
* merged trunk up to r20882
|
пре 13 година |
pierre
|
1c27730c8c
* Give debug information once for each conditional directive
|
пре 13 година |
florian
|
99b0421193
+ patch by Seth Grover to support line number macro returning a numerical number, resolves #21372
|
пре 13 година |
Jonas Maebe
|
a6a43c71ec
* give an error message when including a file starting with an UTF-8 BOM
|
пре 13 година |
florian
|
4a79262728
* make asciinr string long enough for binary char constants as pointed out by Matti Kronman, resolves #20821
|
пре 14 година |