Skip to content

Commit

Permalink
Making method notes more consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanYankovsky committed Apr 4, 2015
1 parent d1a9993 commit ba14919
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/DelphiAST.pas
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ procedure TPasSyntaxTreeBuilder.ConstParameter;

procedure TPasSyntaxTreeBuilder.ConstructorName;
begin
FStack.Peek.SetAttribute('constructor', 'true');
FStack.Peek.SetAttribute('kind', 'constructor');
FStack.Peek.SetAttribute('name', Lexer.Token);
inherited;
end;
Expand Down Expand Up @@ -710,7 +710,7 @@ destructor TPasSyntaxTreeBuilder.Destroy;

procedure TPasSyntaxTreeBuilder.DestructorName;
begin
FStack.Peek.SetAttribute('destructor', 'true');
FStack.Peek.SetAttribute('kind', 'destructor');
FStack.Peek.SetAttribute('name', Lexer.Token);
inherited;
end;
Expand Down

0 comments on commit ba14919

Please sign in to comment.