ソースを参照

compiler: temporary disable hint directive parse if objectivec1 modeswitch set

git-svn-id: trunk@25713 -
paul 11 年 前
コミット
82243b5c9d
1 ファイル変更1 行追加1 行削除
  1. 1 1
      compiler/pdecsub.pas

+ 1 - 1
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;