Added preliminary support for parsing _IMPLEMENTS

git-svn-id: trunk@4141 -
This commit is contained in:
chrivers 2006-07-10 23:41:31 +00:00
parent a7b5f78daf
commit 5e65c94bfb

View File

@ -583,6 +583,15 @@ implementation
begin
p.default:=longint($80000000);
end;
{ Parse possible "implements" keyword }
if try_to_consume(_IMPLEMENTS) then
begin
consume(_ID);
writeln('Implements [', pattern, ']');
if not is_interface(p.proptype.def) then
writeln('Implements property must have interface type'); //FIXME: will be converted to proper message()
end;
{ remove temporary procvardefs }
readprocdef.free;
writeprocdef.free;