summaryrefslogtreecommitdiff
path: root/boost/wave/language_support.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/wave/language_support.hpp')
-rw-r--r--boost/wave/language_support.hpp32
1 files changed, 19 insertions, 13 deletions
diff --git a/boost/wave/language_support.hpp b/boost/wave/language_support.hpp
index 57ae494ca2..17d9f5023d 100644
--- a/boost/wave/language_support.hpp
+++ b/boost/wave/language_support.hpp
@@ -35,7 +35,10 @@ enum language_support {
support_c99 = support_option_variadics | support_option_long_long | 0x08,
#endif
#if BOOST_WAVE_SUPPORT_CPP0X != 0
- support_cpp0x = support_option_variadics | support_option_long_long | 0x10,
+ support_option_no_newline_at_end_of_file = 0x20,
+
+ support_cpp0x = support_option_variadics | support_option_long_long |
+ support_option_no_newline_at_end_of_file | 0x10,
support_cpp11 = support_cpp0x,
#endif
@@ -181,24 +184,27 @@ set_support_options(language_support language, language_support option)
/**/
///////////////////////////////////////////////////////////////////////////////
-BOOST_WAVE_OPTION(long_long) // support_option_long_long
-BOOST_WAVE_OPTION(no_character_validation) // support_option_no_character_validation
-BOOST_WAVE_OPTION(preserve_comments) // support_option_preserve_comments
-BOOST_WAVE_OPTION(prefer_pp_numbers) // support_option_prefer_pp_numbers
-BOOST_WAVE_OPTION(emit_line_directives) // support_option_emit_line_directives
-BOOST_WAVE_OPTION(single_line) // support_option_single_line
-BOOST_WAVE_OPTION(convert_trigraphs) // support_option_convert_trigraphs
+BOOST_WAVE_OPTION(long_long) // support_option_long_long
+BOOST_WAVE_OPTION(no_character_validation) // support_option_no_character_validation
+BOOST_WAVE_OPTION(preserve_comments) // support_option_preserve_comments
+BOOST_WAVE_OPTION(prefer_pp_numbers) // support_option_prefer_pp_numbers
+BOOST_WAVE_OPTION(emit_line_directives) // support_option_emit_line_directives
+BOOST_WAVE_OPTION(single_line) // support_option_single_line
+BOOST_WAVE_OPTION(convert_trigraphs) // support_option_convert_trigraphs
#if BOOST_WAVE_SUPPORT_PRAGMA_ONCE != 0
-BOOST_WAVE_OPTION(include_guard_detection) // support_option_include_guard_detection
+BOOST_WAVE_OPTION(include_guard_detection) // support_option_include_guard_detection
#endif
#if BOOST_WAVE_SUPPORT_VARIADICS_PLACEMARKERS != 0
-BOOST_WAVE_OPTION(variadics) // support_option_variadics
+BOOST_WAVE_OPTION(variadics) // support_option_variadics
#endif
#if BOOST_WAVE_EMIT_PRAGMA_DIRECTIVES != 0
-BOOST_WAVE_OPTION(emit_pragma_directives) // support_option_emit_pragma_directives
+BOOST_WAVE_OPTION(emit_pragma_directives) // support_option_emit_pragma_directives
+#endif
+BOOST_WAVE_OPTION(insert_whitespace) // support_option_insert_whitespace
+BOOST_WAVE_OPTION(emit_contnewlines) // support_option_emit_contnewlines
+#if BOOST_WAVE_SUPPORT_CPP0X != 0
+BOOST_WAVE_OPTION(no_newline_at_end_of_file) // support_no_newline_at_end_of_file
#endif
-BOOST_WAVE_OPTION(insert_whitespace) // support_option_insert_whitespace
-BOOST_WAVE_OPTION(emit_contnewlines) // support_option_emit_contnewlines
#undef BOOST_WAVE_NEED_OPTION
#undef BOOST_WAVE_ENABLE_OPTION