Commit Graph

2 Commits

Author SHA1 Message Date
svenbarth
27f398851b The assumptions of test tthlp22 have changed.
tests/test/tthlp22.pp:
  * this test fails no longer as Mode Delphi by default also contains modeswitch TypeHelpers
  * adjust program name for consistency

git-svn-id: trunk@29274 -
2014-12-12 17:20:13 +00:00
svenbarth
ddb78fefdc Add a modeswitch for type helpers as discussed in core on 24th October 2013. It is disabled by default in all modes (afterall type helper support in Delphi started only beginning with XE3)
+ globtype.pas: add new modeswitch to modeswitch enum and name array
* ptype.pas & pdecobj.pas: check for new modeswitch instead of modeswitch class
* ppu.pas: increase ppu version as we've added a new modeswitch which requires correctly compiled units

* adjusted tests to enabled the modeswitch when necessary
+ added three new tests that check for correct functionality of modeswitch typehelpers

git-svn-id: trunk@26796 -
2014-02-16 12:58:24 +00:00