aboutsummaryrefslogtreecommitdiff
path: root/libtcc.c
diff options
context:
space:
mode:
authorseyko <seyko2@gmail.com>2015-04-10 06:31:58 +0300
committerseyko <seyko2@gmail.com>2015-04-10 06:31:58 +0300
commitdec959358a2d947e7bad18507394b7057a93fae3 (patch)
tree0d1e7030f132b23435c0de7896942fc5a69f4d38 /libtcc.c
parent9fc3d66f1b175dd712c91692c73445b65090db61 (diff)
downloadtinycc-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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libtcc.c b/libtcc.c
index 533c14d..d33cdb0 100644
--- a/libtcc.c
+++ b/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 */