diff options
author | svenbarth <svenbarth@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2016-03-18 22:04:57 +0000 |
---|---|---|
committer | svenbarth <svenbarth@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2016-03-18 22:04:57 +0000 |
commit | 924bbe6e7499b5764849e409077a476c981967fc (patch) | |
tree | 597c712fca8e72c19a295c7e76dca9e3cdc1caa4 /compiler/globtype.pas | |
parent | 07ac6f38ced382631f769916f1441b2f43a31b55 (diff) | |
download | fpc-924bbe6e7499b5764849e409077a476c981967fc.tar.gz |
Add new Delphi compatible switch {$G+/-}, {$IMPORTEDDATA ON/OFF} which handles generation of indirect references for cross unit variable accesses if needed for the target.
globtype.pas:
+ tlocalswitch: extend by cs_imported_data
globals.pas:
* default_settings: cs_imported_data is set by default (Delphi compatible)
switches.pas:
* turboSwitchTable: G is used for cs_imported_data
scandir.pas:
+ new directive handler dir_importeddata
* InitScannerDirectives: handle IMPORTEDDATA with dir_importeddata
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@33281 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/globtype.pas')
-rw-r--r-- | compiler/globtype.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/globtype.pas b/compiler/globtype.pas index 18f7f28422..4261814bba 100644 --- a/compiler/globtype.pas +++ b/compiler/globtype.pas @@ -141,7 +141,7 @@ interface cs_generate_stackframes,cs_do_assertion,cs_generate_rtti, cs_full_boolean_eval,cs_typed_const_writable,cs_allow_enum_calc, cs_do_inline,cs_fpu_fwait,cs_ieee_errors, - cs_check_low_addr_load, + cs_check_low_addr_load,cs_imported_data, { mmx } cs_mmx,cs_mmx_saturation, { parser } |