* 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:
Jonas Maebe 2010-09-13 20:14:27 +00:00
parent cc82844a9d
commit 7f489635da
2 changed files with 2 additions and 1 deletions

View File

@ -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;

View File

@ -1,3 +1,4 @@
{%KNOWNCOMPILEERROR=CodeWarrior Pascal is sometimes similar to and sometimes different from TP/Delphi regarding calling procvars }
{$mode macpas}
program tmacfunret;