diff options
| author | seyko <seyko2@gmail.com> | 2015-04-10 06:31:58 +0300 |
|---|---|---|
| committer | seyko <seyko2@gmail.com> | 2015-04-10 06:31:58 +0300 |
| commit | dec959358a2d947e7bad18507394b7057a93fae3 (patch) | |
| tree | 0d1e7030f132b23435c0de7896942fc5a69f4d38 /libtcc.c | |
| parent | 9fc3d66f1b175dd712c91692c73445b65090db61 (diff) | |
| download | tinycc-dec959358a2d947e7bad18507394b7057a93fae3.tar.gz tinycc-dec959358a2d947e7bad18507394b7057a93fae3.tar.bz2 | |
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
Diffstat (limited to 'libtcc.c')
| -rw-r--r-- | libtcc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 */ |
