MG: fixed implementation node end

git-svn-id: trunk@529 -
This commit is contained in:
lazarus 2001-12-15 22:56:03 +00:00
parent 19a39c3e99
commit 0908e8916e

View File

@ -1321,7 +1321,7 @@ begin
if not (UpAtomIs('INITIALIZATION') or UpAtomIs('FINALIZATION')) then
RaiseException('syntax error: unexpected keyword '+GetAtom+' found');
// close implementation section node
CurNode.EndPos:=CurPos.EndPos;
CurNode.EndPos:=CurPos.StartPos;
EndChildNode;
// start initialization / finalization section node
CreateChildNode;