mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 11:28:06 +02:00
* disabled maybe_call_procvar() again for macpas mode, because it breaks
CodeWarrior compatibility in a more prominent way than failure to compile webtbs/tw17379a.pp (-> added %knowncompileerror) git-svn-id: trunk@15976 -
This commit is contained in:
parent
cc82844a9d
commit
7f489635da
@ -357,7 +357,7 @@ implementation
|
||||
result:=false;
|
||||
if (p1.resultdef.typ<>procvardef) or
|
||||
(tponly and
|
||||
([m_tp_procvar,m_mac_procvar] * current_settings.modeswitches = [])) then
|
||||
not(m_tp_procvar in current_settings.modeswitches)) then
|
||||
exit;
|
||||
{ ignore vecn,subscriptn }
|
||||
hp:=p1;
|
||||
|
@ -1,3 +1,4 @@
|
||||
{%KNOWNCOMPILEERROR=CodeWarrior Pascal is sometimes similar to and sometimes different from TP/Delphi regarding calling procvars }
|
||||
{$mode macpas}
|
||||
|
||||
program tmacfunret;
|
||||
|
Loading…
Reference in New Issue
Block a user