Explorar el Código

* part of r15163, forgot to commit

git-svn-id: trunk@15164 -
Jonas Maebe hace 15 años
padre
commit
34487fa455
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      compiler/ncal.pas

+ 2 - 0
compiler/ncal.pas

@@ -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
         }