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
BuildSubTreeForProcHead(ContextNode);
if ContextNode.FirstChild<>nil then
ContextNode:=ContextNode.FirstChild;
ContextNode:=ContextNode.FirstChild; // the ctnParameterList
end;
ctnProgram, ctnPackage, ctnLibrary, ctnUnit:

View File

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