fix the bug #31403: parser bug in structure
- a warning: unnamed struct/union that defines no instances
- allow a nested named struct declaration w/o identifier
only when option -fms-extensions is used
This commit is contained in:
1
libtcc.c
1
libtcc.c
@ -1463,6 +1463,7 @@ static const FlagDef flag_defs[] = {
|
||||
{ offsetof(TCCState, char_is_unsigned), FD_INVERT, "signed-char" },
|
||||
{ offsetof(TCCState, nocommon), FD_INVERT, "common" },
|
||||
{ offsetof(TCCState, leading_underscore), 0, "leading-underscore" },
|
||||
{ offsetof(TCCState, ms_extensions), 0, "ms-extensions" },
|
||||
};
|
||||
|
||||
/* set/reset a flag */
|
||||
|
||||
Reference in New Issue
Block a user