summaryrefslogtreecommitdiff
path: root/compiler/globtype.pas
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/globtype.pas')
-rw-r--r--compiler/globtype.pas13
1 files changed, 11 insertions, 2 deletions
diff --git a/compiler/globtype.pas b/compiler/globtype.pas
index 1a0da4a6b2..167cee59c3 100644
--- a/compiler/globtype.pas
+++ b/compiler/globtype.pas
@@ -232,7 +232,14 @@ interface
these strings as prefixes for the generated getters/setter names }
ts_auto_getter_prefix,
ts_auto_setter_predix,
- ts_thumb_interworking
+ ts_thumb_interworking,
+ { lowercase the first character of routine names, used to generate
+ names that are compliant with Java coding standards from code
+ written according to Delphi coding standards }
+ ts_lowercase_proc_start,
+ { initialise local variables on the JVM target so you won't get
+ accidental uses of uninitialised values }
+ ts_init_locals
);
ttargetswitches = set of ttargetswitch;
@@ -313,7 +320,9 @@ interface
(name: 'ENUMFIELDINIT'; hasvalue: false; isglobal: true ),
(name: 'AUTOGETTERPREFIX'; hasvalue: true ; isglobal: false),
(name: 'AUTOSETTERPREFIX'; hasvalue: true ; isglobal: false),
- (name: 'THUMBINTERWORKING'; hasvalue: false; isglobal: true )
+ (name: 'THUMBINTERWORKING'; hasvalue: false; isglobal: true ),
+ (name: 'LOWERCASEPROCSTART'; hasvalue: false; isglobal: true ),
+ (name: 'INITLOCALS'; hasvalue: false; isglobal: true )
);
{ switches being applied to all CPUs at the given level }