From 82243b5c9dca57c5781972c44fd725fde92a8d35 Mon Sep 17 00:00:00 2001 From: paul Date: Mon, 7 Oct 2013 14:31:29 +0000 Subject: [PATCH] compiler: temporary disable hint directive parse if objectivec1 modeswitch set git-svn-id: trunk@25713 - --- compiler/pdecsub.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/pdecsub.pas b/compiler/pdecsub.pas index a1bf7dfc1e..fbb5c4c2da 100644 --- a/compiler/pdecsub.pas +++ b/compiler/pdecsub.pas @@ -2483,7 +2483,7 @@ const _UNIMPLEMENTED, _EXPERIMENTAL, _DEPRECATED : - if (m_delphi in current_settings.modeswitches) and (pd.typ=procdef) then + if ([m_delphi,m_objectivec1] * current_settings.modeswitches = [m_delphi]) and (pd.typ=procdef) then maybe_parse_hint_directives(tprocdef(pd)) else exit;