From dec959358a2d947e7bad18507394b7057a93fae3 Mon Sep 17 00:00:00 2001 From: seyko Date: Fri, 10 Apr 2015 06:31:58 +0300 Subject: 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 --- tcc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tcc.h') 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; -- cgit v1.3.1