From f630f6f40f740cb8f2ee6f8b7ca4b87afe4549ed Mon Sep 17 00:00:00 2001 From: pfg Date: Sun, 12 Jan 2014 21:16:26 +0000 Subject: MFC r260310: 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 --- contrib/gcclibs/libcpp/internal.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'contrib/gcclibs/libcpp/internal.h') 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. */ -- cgit v1.1