diff options
author | pfg <pfg@FreeBSD.org> | 2014-01-05 00:32:38 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2014-01-05 00:32:38 +0000 |
commit | c5e9a8143da358a2c480a64c9782d5eedda3b002 (patch) | |
tree | 41352df67b0bde40419570461e43784752e49325 /contrib/gcclibs/libcpp/internal.h | |
parent | 8da5238e28e25a3d2976ca05168766d942eaf703 (diff) | |
download | FreeBSD-src-c5e9a8143da358a2c480a64c9782d5eedda3b002.zip FreeBSD-src-c5e9a8143da358a2c480a64c9782d5eedda3b002.tar.gz |
libcpp: misc fixes from Apple's GCC.
Fixes some bugs detected by Apple:
#error with unmatched quotes
pragma mark
Obtained from: Apple GCC 4.2 - 5553
MFC after: 1 week
Diffstat (limited to 'contrib/gcclibs/libcpp/internal.h')
-rw-r--r-- | contrib/gcclibs/libcpp/internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/gcclibs/libcpp/internal.h b/contrib/gcclibs/libcpp/internal.h index ebc2ca9..d685e28 100644 --- a/contrib/gcclibs/libcpp/internal.h +++ b/contrib/gcclibs/libcpp/internal.h @@ -220,6 +220,11 @@ struct lexer_state /* Nonzero if the deferred pragma being handled allows macro expansion. */ unsigned char pragma_allow_expansion; + + /* APPLE LOCAL begin #error with unmatched quotes 5607574 */ + /* Nonzero when handling #error and #warning to allow unmatched quotes. */ + unsigned char in_diagnostic; + /* APPLE LOCAL end #error with unmatched quotes 5607574 */ }; /* Special nodes - identifiers with predefined significance. */ |