codetools: forward proc completion: copying pascal calling convention

git-svn-id: trunk@19850 -
This commit is contained in:
mattias 2009-05-08 09:39:05 +00:00
parent 7438cdff7a
commit c76dedceee

View File

@ -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