Forráskód Böngészése

* allow property in objects in all modes except tp

peter 20 éve
szülő
commit
e250290e57
1 módosított fájl, 5 hozzáadás és 2 törlés
  1. 5 2
      compiler/pdecobj.pas

+ 5 - 2
compiler/pdecobj.pas

@@ -91,7 +91,7 @@ implementation
         begin
         begin
            { check for a class }
            { check for a class }
            if not((is_class_or_interface(aktclass)) or
            if not((is_class_or_interface(aktclass)) or
-              ((m_delphi in aktmodeswitches) and (is_object(aktclass)))) then
+              (not(m_tp7 in aktmodeswitches) and (is_object(aktclass)))) then
              Message(parser_e_syntax_error);
              Message(parser_e_syntax_error);
            consume(_PROPERTY);
            consume(_PROPERTY);
            p:=read_property_dec(aktclass);
            p:=read_property_dec(aktclass);
@@ -729,7 +729,10 @@ implementation
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.86  2005-02-14 17:13:07  peter
+  Revision 1.87  2005-03-16 21:09:22  peter
+    * allow property in objects in all modes except tp
+
+  Revision 1.86  2005/02/14 17:13:07  peter
     * truncate log
     * truncate log
 
 
   Revision 1.85  2005/02/01 08:46:13  michael
   Revision 1.85  2005/02/01 08:46:13  michael