Skip to content

recognize type definitions whenever possible #137

@mycoboco

Description

@mycoboco
typedef float foo

foo main() {}
t.c:1:18: ERROR - syntax error; expected `;' before `identifier'
  typedef float foo
                   ^
t.c:3:1: ERROR - unknown type `foo'
  foo main() {}
  ^~~
t.c:3:1: ERROR - redeclaration of `foo'
  foo main() {}
  ^~~

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions