mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 04:16:06 +02:00
codetools: nicer error message on procedure return type
git-svn-id: trunk@43455 -
This commit is contained in:
parent
07faf68681
commit
22c5d60fd4
@ -1694,6 +1694,8 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
end else if CurPos.Flag=cafColon then begin
|
||||||
|
SaveRaiseCharExpectedButAtomFound(';');
|
||||||
end;
|
end;
|
||||||
if UpAtomIs('OF') then begin
|
if UpAtomIs('OF') then begin
|
||||||
// read 'of object'
|
// read 'of object'
|
||||||
|
Loading…
Reference in New Issue
Block a user