codetools: nicer error message on procedure return type

git-svn-id: trunk@43455 -
This commit is contained in:
mattias 2013-11-18 00:22:20 +00:00
parent 07faf68681
commit 22c5d60fd4

View File

@ -1694,6 +1694,8 @@ begin
end;
end;
end;
end else if CurPos.Flag=cafColon then begin
SaveRaiseCharExpectedButAtomFound(';');
end;
if UpAtomIs('OF') then begin
// read 'of object'