compiler: check modeswitches first

git-svn-id: trunk@25712 -
This commit is contained in:
paul 2013-10-07 13:17:22 +00:00
parent 7e3dd92b03
commit 8f6f0d63a0

View File

@ -2483,7 +2483,7 @@ const
_UNIMPLEMENTED,
_EXPERIMENTAL,
_DEPRECATED :
if (pd.typ=procdef) and (m_delphi in current_settings.modeswitches) then
if (m_delphi in current_settings.modeswitches) and (pd.typ=procdef) then
maybe_parse_hint_directives(tprocdef(pd))
else
exit;