Skip to content

closing parenthese and NL #1139

@guy-maurel

Description

@guy-maurel

As discuss at PR#1137 we need a new option to cover the newline after the closing parenthesis for if.
Look at line 9 here:

void a()
{
int a;
               if ((tmp == nullptr) ||
                        ((tmp->type != CT_NUMBER) &&
                         (tmp->type != CT_SIZEOF) &&
                         !(tmp->flags & (PCF_IN_STRUCT | PCF_IN_CLASS))) ||
                        (tmp->type == CT_NEWLINE)
                        ) // closing parenthesis
               {
                  set_chunk_type(next, CT_LABEL_COLON);
               }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions