* require "override;" as well in macpas mode to override methods

git-svn-id: trunk@392 -
This commit is contained in:
Jonas Maebe 2005-06-12 17:12:49 +00:00
parent 893f45c9e2
commit 8efe880649
2 changed files with 1 additions and 4 deletions

View File

@ -665,8 +665,6 @@ implementation
begin
{ new one has not override }
if is_class(_class) and
{ in Macintosh Object Pascal, all methods are virtual/override }
not(m_mac in aktmodeswitches) and
not(po_overridingmethod in pd.procoptions) then
begin
{ we start a new virtual tree, hide the old }

View File

@ -597,8 +597,7 @@ implementation
begin
parse_object_proc_directives(pd);
{ all Macintosh Object Pascal methods are virtual/ }
{ override; the override part is handled in nobj }
{ all Macintosh Object Pascal methods are virtual. }
{ this can't be a class method, because macpas mode }
{ has no m_class }
if (m_mac in aktmodeswitches) then