* part of r15163, forgot to commit

git-svn-id: trunk@15164 -
This commit is contained in:
Jonas Maebe 2010-04-24 12:49:53 +00:00
parent 0dcedf3799
commit 34487fa455

View File

@ -1777,6 +1777,8 @@ implementation
srsymtable : tsymtable;
msgsendname : string;
begin
if not(m_objectivec1 in current_settings.modeswitches) then
Message(parser_f_modeswitch_objc_required);
{ typecheck pass must already have run on the call node,
because pass1 calls this method
}