You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The comparison "> 1" should instead be ">= 1" or "> 0" or "!= 0" . Also, it would be clearer if the four attr->is_.... bools are OR'd together instead of added.
gcc, clang, and chibicc all flag the following as illegal:
static inline typedef struct
{
int x;
int y;
} Point;
BUT chibicc allows the following which both gcc and clang flag as illegal:
static typedef struct
{
int x;
int y;
} Point;
The text was updated successfully, but these errors were encountered:
The comment and code for line 423 of parse.c do not match. It seems the comment describes the correct behavior.
chibicc/parse.c
Line 423 in 90d1f7f
The comparison "> 1" should instead be ">= 1" or "> 0" or "!= 0" . Also, it would be clearer if the four attr->is_.... bools are OR'd together instead of added.
The text was updated successfully, but these errors were encountered: