aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
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 /tcc.h
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 'tcc.h')
-rw-r--r--tcc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcc.h b/tcc.h
index 96c0333..402e9ca 100644
--- a/tcc.h
+++ b/tcc.h
@@ -602,6 +602,7 @@ struct TCCState {
/* C language options */
int char_is_unsigned;
int leading_underscore;
+ int ms_extensions; /* allow nested named struct w/o identifier behave like unnamed */
/* warning switches */
int warn_write_strings;