mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 22:39:27 +02:00
The sources of the Free Pascal compiler, RTL, packages and utilities.
See https://www.freepascal.org/ for more info.
![]() o support for ansistring constants. It's done via a detour because the JVM only supports UTF-16 string constants (no array of byte or anything like that): store every ansicharacter in the lower 8 bits of an UTF-16 constant string, and at run time copy the characters to an ansistring. The alternative is to generate code that stores every character separately to an array. o the base ansistring support is implemented in a class called AnsistringClass, and an ansistring is simply an instance of this class under the hood o the compiler currently does generate nil pointers as empty ansistrings unlike for unicodestrings, where we always explicitly generate an empty string. The reason is that unicodestrings are the same as JLString and hence common for Java interoperation, while ansistrings are unlikely to be used in interaction with external Java code * fixed indentation git-svn-id: branches/jvmbackend@18562 - |
||
---|---|---|
compiler | ||
ide | ||
installer | ||
packages | ||
rtl | ||
tests | ||
utils | ||
.gitattributes | ||
.gitignore | ||
Makefile | ||
Makefile.fpc |