JulianKemmerer / PipelineC

A C-like hardware description language (HDL) adding high level synthesis(HLS)-like automatic pipelining as a language construct/compiler feature.
https://github.com/JulianKemmerer/PipelineC/wiki
GNU General Public License v3.0
606 stars 50 forks source link

Structs must use typedef tag_name == struct_alias for struct definitions #128

Open JulianKemmerer opened 2 years ago

JulianKemmerer commented 2 years ago

Structs must use tag_name == struct_alias in struct definitions...

typedef struct tag_name {
  type member1;
  type member2;
} struct_alias;

Otherwise you will get parsing errors as if type wasn't defined