mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-03 23:38:34 +02:00
compiler: temporary disable hint directive parse if objectivec1 modeswitch set
git-svn-id: trunk@25713 -
This commit is contained in:
parent
8f6f0d63a0
commit
82243b5c9d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user