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

* Recognize property keyword in all modes now that they are allowed for objects

git-svn-id: branches/fixes_2_0@2150 -
daniel 20 éve
szülő
commit
dae3e66454
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      compiler/tokens.pas

+ 1 - 1
compiler/tokens.pas

@@ -437,7 +437,7 @@ const
       (str:'OVERLOAD'      ;special:false;keyword:m_none;op:NOTOKEN),
       (str:'OVERRIDE'      ;special:false;keyword:m_none;op:NOTOKEN),
       (str:'PLATFORM'      ;special:false;keyword:m_none;op:NOTOKEN),
-      (str:'PROPERTY'      ;special:false;keyword:m_class;op:NOTOKEN),
+      (str:'PROPERTY'      ;special:false;keyword:m_all;op:NOTOKEN),
       (str:'REGISTER'      ;special:false;keyword:m_none;op:NOTOKEN),
       (str:'RESIDENT'      ;special:false;keyword:m_none;op:NOTOKEN),
       (str:'SAFECALL'      ;special:false;keyword:m_none;op:NOTOKEN),