Skip to content

Odd formatting on comments near ends of blocks #6

@liampwll

Description

@liampwll

Given the following input:

   --  aaa
   if X then
      --  bbb
      Y;
      --  ccc
   end if;

GNATformat produces the following output (including the extra line break):

   --  aaa
   if X then
      --  bbb
      Y;
   --  ccc

   end if;

It seems like it would be more sensible to leave this as it is in the input.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions