mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 18:39:09 +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,
|
ProcCode:=ExtractProcHead(CurProcNode,[phpWithStart,
|
||||||
phpWithoutClassKeyword,
|
phpWithoutClassKeyword,
|
||||||
phpWithVarModifiers,phpWithParameterNames,phpWithResultType,
|
phpWithVarModifiers,phpWithParameterNames,phpWithResultType,
|
||||||
phpWithCallingSpecs,phpDoNotAddSemicolon]);
|
phpWithCallingSpecs,phpWithProcModifiers,
|
||||||
|
phpDoNotAddSemicolon]);
|
||||||
if ProcCode='' then
|
if ProcCode='' then
|
||||||
RaiseException('CompleteForwardProcs: unable to parse forward proc node');
|
RaiseException('CompleteForwardProcs: unable to parse forward proc node');
|
||||||
if ProcCode[length(ProcCode)]<>';' then begin
|
if ProcCode[length(ProcCode)]<>';' then begin
|
||||||
|
Loading…
Reference in New Issue
Block a user