mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-04 13:47:23 +01:00
compiler: check modeswitches first
git-svn-id: trunk@25712 -
This commit is contained in:
parent
7e3dd92b03
commit
8f6f0d63a0
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user