From b9ed22b7054ae620d23cc9907d0f6d90505e8354 Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Sun, 7 Apr 2013 15:51:02 +0000 Subject: [PATCH] * CodeWarrior apparently supports a combination of FPC-like using the function result as a variable, and Delphi/TP-like "using the function name inside the function means a recursive call". In order to prevent confusion, we no longer support the former behaviour since r21817 because the conditions under which one or the other holds are not well defined and it's easier to fix a compiler error then to discover why a recursive function call doesn't do anything (mantis #22344) git-svn-id: trunk@24182 - --- tests/test/tmacfunret.pp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test/tmacfunret.pp b/tests/test/tmacfunret.pp index 00352d6895..f22fc2da7a 100644 --- a/tests/test/tmacfunret.pp +++ b/tests/test/tmacfunret.pp @@ -1,3 +1,5 @@ +{ %fail } + program tmacfunret; {$MODE MACPAS}