codetools: comment

git-svn-id: trunk@21070 -
This commit is contained in:
mattias 2009-08-02 15:37:08 +00:00
parent 475edb145e
commit df517558c5
2 changed files with 2 additions and 1 deletions

View File

@ -2954,7 +2954,7 @@ begin
begin begin
BuildSubTreeForProcHead(ContextNode); BuildSubTreeForProcHead(ContextNode);
if ContextNode.FirstChild<>nil then if ContextNode.FirstChild<>nil then
ContextNode:=ContextNode.FirstChild; ContextNode:=ContextNode.FirstChild; // the ctnParameterList
end; end;
ctnProgram, ctnPackage, ctnLibrary, ctnUnit: ctnProgram, ctnPackage, ctnLibrary, ctnUnit:

View File

@ -1352,6 +1352,7 @@ begin
NeedIdentifier:=true; NeedIdentifier:=true;
IsArrayType:=UpAtomIs('ARRAY'); IsArrayType:=UpAtomIs('ARRAY');
if IsArrayType then begin if IsArrayType then begin
//DebugLn(['TPascalParserTool.ReadParamType is array ',MainFilename,' ',CleanPosToStr(curPos.StartPos)]);
if (phpCreateNodes in Attr) then begin if (phpCreateNodes in Attr) then begin
CreateChildNode; CreateChildNode;
CurNode.Desc:=ctnOpenArrayType; CurNode.Desc:=ctnOpenArrayType;