compiler: temporary disable hint directive parse if objectivec1 modeswitch set

git-svn-id: trunk@25713 -
This commit is contained in:
paul 2013-10-07 14:31:29 +00:00
parent 8f6f0d63a0
commit 82243b5c9d

View File

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