Skip to content

Add support for omitting braces in initializer lists #88

Description

@iphydf

Language.C should support this:

struct Foo {
  char arr[3];
};

struct Foo foo = {0};

It's more error-prone in deeply nested structs to be adding each of the layers manually. All C compilers support this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions