From 840ae02999aec3010c5faeeeeef14e6b839d6621 Mon Sep 17 00:00:00 2001
From: Hartmut Kaiser
Date: Mon, 17 Jan 2005 18:28:54 +0000
Subject: [PATCH] Preparation of the Boost review...
[SVN r2445]
---
ChangeLog | 20 +-
build/Jamfile | 2 +-
build/Jamfile.v2 | 2 +-
doc/acknowledgements.html | 4 +-
doc/class_reference_context.html | 4 +-
doc/class_reference_contextpolicy.html | 4 +-
doc/class_reference_fileposition.html | 4 +-
doc/class_reference_inputpolicy.html | 4 +-
doc/class_reference_lexer.html | 4 +-
doc/class_reference_tokentype.html | 4 +-
doc/compiletime_config.html | 4 +-
doc/introduction.html | 4 +-
doc/macro_expansion_process.html | 4 +-
doc/predefined_macros.html | 4 +-
doc/preface.html | 4 +-
doc/quickstart.html | 4 +-
doc/references.html | 4 +-
doc/samples.html | 4 +-
doc/supported_pragmas.html | 4 +-
doc/token_ids.html | 4 +-
doc/tracing_facility.html | 3 +-
doc/wave_driver.html | 4 +-
include/boost/wave.hpp | 2 +-
include/boost/wave/cpp_context.hpp | 5 +-
include/boost/wave/cpp_exceptions.hpp | 2 +-
include/boost/wave/cpp_iteration_context.hpp | 2 +-
.../boost/wave/cpplexer/cpp_lex_interface.hpp | 2 +-
.../boost/wave/cpplexer/cpp_lex_iterator.hpp | 2 +-
include/boost/wave/cpplexer/cpp_lex_token.hpp | 2 +-
.../wave/cpplexer/cpplexer_exceptions.hpp | 2 +-
include/boost/wave/cpplexer/re2clex/aq.hpp | 2 +-
.../boost/wave/cpplexer/re2clex/cpp.re.hpp | 2 +-
.../wave/cpplexer/re2clex/cpp_re2c_lexer.hpp | 2 +-
.../boost/wave/cpplexer/re2clex/scanner.hpp | 2 +-
include/boost/wave/cpplexer/token_cache.hpp | 2 +-
.../wave/cpplexer/validate_universal_char.hpp | 2 +-
.../boost/wave/grammars/cpp_chlit_grammar.hpp | 2 +-
.../wave/grammars/cpp_defined_grammar.hpp | 2 +-
.../wave/grammars/cpp_defined_grammar_gen.hpp | 6 +-
.../wave/grammars/cpp_expression_grammar.hpp | 2 +-
.../grammars/cpp_expression_grammar_gen.hpp | 2 +-
.../wave/grammars/cpp_expression_value.hpp | 49 +-
include/boost/wave/grammars/cpp_grammar.hpp | 2 +-
.../boost/wave/grammars/cpp_grammar_gen.hpp | 2 +-
.../wave/grammars/cpp_intlit_grammar.hpp | 2 +-
.../wave/grammars/cpp_literal_grammar_gen.hpp | 2 +-
.../wave/grammars/cpp_predef_macros_gen.hpp | 2 +-
.../grammars/cpp_predef_macros_grammar.hpp | 2 +-
include/boost/wave/language_support.hpp | 2 +-
include/boost/wave/preprocessing_hooks.hpp | 2 +-
include/boost/wave/token_ids.hpp | 2 +-
include/boost/wave/util/cpp_ifblock.hpp | 2 +-
.../boost/wave/util/cpp_include_pathes.hpp | 2 +-
include/boost/wave/util/cpp_iterator.hpp | 2 +-
include/boost/wave/util/cpp_macromap.hpp | 959 +++++-------------
.../boost/wave/util/cpp_macromap_predef.hpp | 249 +++++
.../boost/wave/util/cpp_macromap_utils.hpp | 497 +++++++++
include/boost/wave/util/eat_whitespace.hpp | 2 +-
include/boost/wave/util/file_position.hpp | 2 +-
include/boost/wave/util/functor_input.hpp | 2 +-
.../wave/util/insert_whitespace_detection.hpp | 2 +-
include/boost/wave/util/interpret_pragma.hpp | 2 +-
include/boost/wave/util/iteration_context.hpp | 2 +-
include/boost/wave/util/macro_definition.hpp | 2 +-
include/boost/wave/util/macro_helpers.hpp | 2 +-
include/boost/wave/util/pattern_parser.hpp | 2 +-
include/boost/wave/util/symbol_table.hpp | 2 +-
.../wave/util/time_conversion_helper.hpp | 2 +-
.../boost/wave/util/transform_iterator.hpp | 2 +-
.../boost/wave/util/unput_queue_iterator.hpp | 125 ++-
include/boost/wave/wave_config.hpp | 8 +-
include/boost/wave/wave_version.hpp | 6 +-
index.html | 2 +-
samples/cpp_tokens/build/Jamfile | 2 +-
samples/cpp_tokens/build/Jamfile.v2 | 2 +-
samples/cpp_tokens/cpp_tokens.cpp | 2 +-
samples/cpp_tokens/cpp_tokens.hpp | 2 +-
samples/cpp_tokens/cpp_tokens_config.hpp | 2 +-
.../instantiate_cpp_exprgrammar.cpp | 2 +-
.../cpp_tokens/instantiate_cpp_grammar.cpp | 2 +-
.../instantiate_cpp_literalgrammars.cpp | 2 +-
.../instantiate_defined_grammar.cpp | 2 +-
samples/cpp_tokens/instantiate_slex_lexer.cpp | 2 +-
samples/cpp_tokens/slex/cpp_slex_lexer.hpp | 2 +-
samples/cpp_tokens/slex/lexer.hpp | 2 +-
samples/cpp_tokens/slex_interface.hpp | 2 +-
samples/cpp_tokens/slex_iterator.hpp | 2 +-
samples/cpp_tokens/slex_token.hpp | 2 +-
samples/list_includes/build/Jamfile | 2 +-
samples/list_includes/build/Jamfile.v2 | 2 +-
samples/list_includes/list_includes.cpp | 2 +-
samples/list_includes/list_includes.hpp | 2 +-
.../list_includes/list_includes_config.hpp | 2 +-
.../list_includes/list_includes_version.hpp | 2 +-
samples/quick_start/build/Jamfile | 2 +-
samples/quick_start/build/Jamfile.v2 | 2 +-
samples/quick_start/quick_start.cpp | 2 +-
samples/waveidl/build/Jamfile | 2 +-
samples/waveidl/build/Jamfile.v2 | 2 +-
samples/waveidl/idl.cpp | 4 +-
samples/waveidl/idl.hpp | 2 +-
samples/waveidl/idl_config.hpp | 2 +-
samples/waveidl/idl_version.hpp | 4 +-
samples/waveidl/idllexer/idl.re | 2 +-
samples/waveidl/idllexer/idl.re.cpp | 2 +-
samples/waveidl/idllexer/idl.re.hpp | 2 +-
.../waveidl/idllexer/idl_lex_interface.hpp | 2 +-
samples/waveidl/idllexer/idl_lex_iterator.hpp | 2 +-
samples/waveidl/idllexer/idl_re2c_lexer.hpp | 2 +-
samples/waveidl/instantiate_cpp_grammar.cpp | 2 +-
.../waveidl/instantiate_defined_grammar.cpp | 2 +-
samples/waveidl/instantiate_predef_macros.cpp | 2 +-
samples/waveidl/instantiate_re2c_lexer.cpp | 2 +-
.../waveidl/instantiate_re2c_lexer_string.cpp | 2 +-
src/cpplexer/re2clex/aq.cpp | 2 +-
src/cpplexer/re2clex/cpp.re | 2 +-
src/cpplexer/re2clex/cpp.re.cpp | 2 +-
src/instantiate_cpp_exprgrammar.cpp | 2 +-
src/instantiate_cpp_grammar.cpp | 2 +-
src/instantiate_cpp_literalgrammars.cpp | 2 +-
src/instantiate_defined_grammar.cpp | 2 +-
src/instantiate_predef_macros.cpp | 2 +-
src/instantiate_re2c_lexer.cpp | 2 +-
src/instantiate_re2c_lexer_string.cpp | 2 +-
tool/build/Jamfile | 2 +-
tool/build/Jamfile.v2 | 2 +-
tool/cpp.cpp | 4 +-
tool/cpp.hpp | 2 +-
tool/cpp_config.hpp | 2 +-
tool/cpp_version.hpp | 4 +-
tool/stop_watch.hpp | 2 +-
tool/trace_macro_expansion.hpp | 2 +-
132 files changed, 1255 insertions(+), 958 deletions(-)
create mode 100644 include/boost/wave/util/cpp_macromap_predef.hpp
create mode 100644 include/boost/wave/util/cpp_macromap_utils.hpp
diff --git a/ChangeLog b/ChangeLog
index 380706b..f104e7b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,16 +1,17 @@
Wave: A Standard compliant C++ preprocessor library
http://spirit.sourceforge.net/
-Copyright (c) 2001-2004 Hartmut Kaiser. Distributed under the Boost
+Copyright (c) 2001-2005 Hartmut Kaiser. Distributed under the Boost
Software License, Version 1.0. (See accompanying file
LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-------------------------------------------------------------------------------
TODO (known issues):
-- Fix expansion of macros, which replacement-list terminates in a partial macro
- expansion.
-- Fix the re2c lexer for iterators others then string::iterator
-- Enforce, that #if/#endif and #region/#endregion are balanced file wise
+- Fix expansion of macros, which replacement-list terminates in a partial
+ macro expansion.
+- Fix the re2c lexer for iterators others then string::iterator (or more
+ generally for iterators, which aren't random access iterators)
+- Enforce, that #if/#endif are balanced file wise
- Try to remove the second parameter from the pp_iterator<>::force_include
function.
- Fix the trigraph backslash problem in the re2c (C/C++ and IDL) scanners, if
@@ -22,6 +23,15 @@ TODO (known issues):
CHANGELOG
+Version 1.1.11
+- Updated copyrights.
+- Fixed some bugs introduced by the latest refactoring.
+- Tried to fix the expansion of macros, which replacement-list terminates in a
+ partial macro expansion. No success so far.
+
+Version 1.1.10
+- Refactored some of the macro map (macro namespace) code (added comments,
+ splitted into separate files),
- Fixed some typename errors in cpp_macromap.hpp (thanks to Vladimir Prus).
- Fixed the BoostBuild V2 Jamfiles (thanks to Vladimir Prus).
diff --git a/build/Jamfile b/build/Jamfile
index 1fc8bb4..2a07129 100644
--- a/build/Jamfile
+++ b/build/Jamfile
@@ -4,7 +4,7 @@
#
# http://spirit.sourceforge.net/
#
-# Copyright (c) 2001-2004 Hartmut Kaiser. Distributed under the Boost
+# Copyright (c) 2001-2005 Hartmut Kaiser. Distributed under the Boost
# Software License, Version 1.0. (See accompanying file
# LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/build/Jamfile.v2 b/build/Jamfile.v2
index ad2dd7d..1f9706f 100644
--- a/build/Jamfile.v2
+++ b/build/Jamfile.v2
@@ -4,7 +4,7 @@
#
# http://spirit.sourceforge.net/
#
-# Copyright (c) 2001-2004 Hartmut Kaiser. Distributed under the Boost
+# Copyright (c) 2001-2005 Hartmut Kaiser. Distributed under the Boost
# Software License, Version 1.0. (See accompanying file
# LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/doc/acknowledgements.html b/doc/acknowledgements.html
index 60fc20a..153b52d 100644
--- a/doc/acknowledgements.html
+++ b/doc/acknowledgements.html
@@ -74,13 +74,13 @@ a policy based std::basic_string<> compatible string implementation.
-Copyright © 2003-2004 Hartmut Kaiser
+
Copyright © 2003-2005 Hartmut Kaiser
Distributed under the Boost Software
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Last updated:
- Saturday, August 21, 2004 20:01
+ Monday, January 17, 2005 16:39