From b03ad1543efca109f3d1e9ed75cb95b20a77c60c Mon Sep 17 00:00:00 2001 From: mattias Date: Wed, 28 Dec 2011 22:06:49 +0000 Subject: [PATCH] codetools: clean up git-svn-id: trunk@34478 - --- components/codetools/pascalparsertool.pas | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/codetools/pascalparsertool.pas b/components/codetools/pascalparsertool.pas index 9f70007c78..813a42f10c 100644 --- a/components/codetools/pascalparsertool.pas +++ b/components/codetools/pascalparsertool.pas @@ -469,7 +469,6 @@ begin 'R': if CompareSrcIdentifiers(p,'REQUIRED') and (CurNode.Parent.Desc=ctnObjCProtocol) - and ([cmsObjectiveC1,cmsObjectiveC2]*Scanner.CompilerModeSwitches<>[]) then exit(KeyWordFuncClassSection); 'S': if CompareSrcIdentifiers(p,'STATIC') @@ -482,7 +481,6 @@ begin 'O': if CompareSrcIdentifiers(p,'OPTIONAL') and (CurNode.Parent.Desc=ctnObjCProtocol) - and ([cmsObjectiveC1,cmsObjectiveC2]*Scanner.CompilerModeSwitches<>[]) then exit(KeyWordFuncClassSection); 'V': if CompareSrcIdentifiers(p,'VAR') then exit(KeyWordFuncClassVarSection);