mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 19:18:14 +02:00
codetools: forward proc completion: copying pascal calling convention
git-svn-id: trunk@19850 -
This commit is contained in:
parent
7438cdff7a
commit
c76dedceee
@ -6238,7 +6238,8 @@ var CleanCursorPos, Indent, insertPos: integer;
|
||||
ProcCode:=ExtractProcHead(CurProcNode,[phpWithStart,
|
||||
phpWithoutClassKeyword,
|
||||
phpWithVarModifiers,phpWithParameterNames,phpWithResultType,
|
||||
phpWithCallingSpecs,phpDoNotAddSemicolon]);
|
||||
phpWithCallingSpecs,phpWithProcModifiers,
|
||||
phpDoNotAddSemicolon]);
|
||||
if ProcCode='' then
|
||||
RaiseException('CompleteForwardProcs: unable to parse forward proc node');
|
||||
if ProcCode[length(ProcCode)]<>';' then begin
|
||||
|
Loading…
Reference in New Issue
Block a user