Jeff Trull
977b67a1d0
Fix missing (uncalled) exception hooks ( #166 )
...
* Check hooks after expected errors, not just when there are none
Some unit tests had intentional errors, and code to verify that the
appropriate hooks were called, but we never checked.
* Update unit tests to match hooks, now that we are checking
* Fix bug revealed by checking the hooks
Or in other words, bug #161 (thanks abakhirkin for the fix)
* Fix link in documentation
2022-06-22 11:22:27 -07:00
Jeff Trull
b8cbd86ab9
Clarify the purpose of the single_line language option ( #142 )
...
It currently says Wave "will now" report an error for input which is not terminated by a newline. In fact it "will not" do that.
I made some additional descriptive edits that made sense to me personally.
2022-01-02 15:06:29 -08:00
Jeff Trull
88369abfd5
Remove long-deprecated hooks API
...
Removal in 1.76 was noted in the docs and warned about since 1.74.
2020-12-13 15:53:32 -08:00
Jeff Trull
9aaa78546c
Additional documentation ( #121 )
...
* Add documentation for three undocumented hooks
Those are found_unknown_directive, emit_line_directive, and locate_include_file
Also tweak formatting, fix typos.
* Add documentation for five samples
* Add links from samples docs to the hooks they use
2020-11-17 08:16:22 -08:00
Jeff Trull
8536634396
Deprecate C++03 and re-deprecate the old preprocessor hooks ( #104 )
...
Targeting a one year transition period for C++03 -> C++11 and one release less to finally get off the old hooks - assuming there are even any users of them.
Also added documentation per @pdimov recommendations at https://pdimov.github.io/articles/phasing_out_cxx03.html#_suggested_policy
2020-06-30 12:24:00 -07:00
Jeff Trull
ee0a7c14c5
Implement __has_include() ( #102 )
...
Resolve #96 by introducing C++17 feature (and frequent vendor extension) __has_include(), along with appropriate unit tests and documentation updates
2020-06-27 07:22:52 -07:00
Jeff Trull
4e6c4fbd2e
Correct various minor typos ( #99 )
2020-06-17 22:36:46 -07:00
Jeff Trull
8504d24bf8
Introduce a new sample that checks macro naming conventions ( #97 )
...
* Introduce a new sample that checks macro naming conventions
This has a direct use in Boost's own QA checks and demonstrates
the use of macro definition and include guard callbacks, as well
as Boost.Filesystem.
2020-06-15 13:22:21 -07:00
Jeff Trull
ec0c8c8603
Implement C++20 features ( #75 )
...
* Introduce support for C++20 preprocessor features
- add __VA_OPT__ feature to variadic macros
- allow supplying 0 variadic arguments in more cases
- add related unit tests
2020-03-06 11:48:50 -08:00
Jeff Trull
b9354fd052
Update doc/wave_driver.html per @hkaiser suggestion
...
Co-Authored-By: Hartmut Kaiser <hartmut.kaiser@gmail.com >
2020-02-16 15:55:39 -08:00
Jeff Trull
85fffbd53c
Add a note to invocation page explaining about trace(enable)
2020-02-16 15:17:44 -08:00
Lauri Nurmi
2d86dbe53a
Fix spelling of "occurr*".
2015-04-03 18:42:08 +03:00
Hartmut Kaiser
34b49bb67d
Fixed #9098 : Wave driver option --c++0x invalid
...
[SVN r85640]
2013-09-10 12:20:48 +00:00
Hartmut Kaiser
ad9898519b
Wave: Fixing documentation problem
...
[SVN r85362]
2013-08-16 12:59:50 +00:00
Hartmut Kaiser
aa24ef4c98
Wave: adding support_option_emit_contnewlines for the SLex lexer only.
...
[SVN r73589]
2011-08-07 01:27:31 +00:00
Hartmut Kaiser
feb1e9ccdb
Wave: updated copyrights, added C++0x mode to docs, added predefined macros for C++0x mode
...
[SVN r67894]
2011-01-09 22:19:16 +00:00
Jeremiah Willcock
8339c881bd
Fixed various issues in docs (mostly duplicate bookmarks and broken links) found by inspect tool
...
[SVN r61437]
2010-04-20 18:49:18 +00:00
Hartmut Kaiser
ee697428fa
Wave: updated copyrights
...
[SVN r58721]
2010-01-05 17:55:35 +00:00
Hartmut Kaiser
f1335cc2d7
Wave: fixed documentation bug
...
[SVN r56313]
2009-09-19 20:29:56 +00:00
Hartmut Kaiser
5146cbbe2a
Wave: more work on pragma once pp hooks, added test case
...
[SVN r56312]
2009-09-19 19:57:09 +00:00
Hartmut Kaiser
aa8030e5f1
Wave: added preprocessing hook to detect #pragma once directives or include guards
...
[SVN r56276]
2009-09-17 17:54:07 +00:00
Hartmut Kaiser
122915b95f
Wave: fixed examples
...
[SVN r53192]
2009-05-22 23:40:53 +00:00
Daniel James
728287af79
Fix a link to a header on trac.
...
IMO it would be better to link to the local copy.
[SVN r52668]
2009-04-29 21:19:56 +00:00
Hartmut Kaiser
a8e6b580db
Wave: Updated copyrights
...
[SVN r50425]
2009-01-01 12:07:12 +00:00
Hartmut Kaiser
196db94839
Wave: fixed docs
...
[SVN r49303]
2008-10-13 01:17:09 +00:00
Jürgen Hunold
506a7a612b
Redirect source file references to svn.boost.org
...
[SVN r49189]
2008-10-08 20:22:27 +00:00
Hartmut Kaiser
613781ba75
Wave: Documentation fix ( closes #1772 ).
...
[SVN r44032]
2008-04-04 13:30:33 +00:00
Hartmut Kaiser
a67d06cde8
Wave: Added additional configuration possibility to allow control threading support. Updated the documentation.
...
[SVN r43042]
2008-01-31 22:48:56 +00:00
Hartmut Kaiser
0f1b0ca3ac
Wave: removed T_DEFINED token id from the library.
...
[SVN r42853]
2008-01-18 17:56:53 +00:00
Hartmut Kaiser
23bbed3024
Wave: updated copyright messages to include the year 2008 (merged from release branch).
...
[SVN r42502]
2008-01-05 22:44:28 +00:00
Hartmut Kaiser
bd17e3ceb0
Wave: Updated documentation.
...
[SVN r41621]
2007-12-03 01:16:28 +00:00
Hartmut Kaiser
c6ca3c8a55
Wave: Fixed namespace detail ambiguity, fixed gcc compilation problems.
...
[SVN r38148]
2007-07-05 14:42:03 +00:00
Hartmut Kaiser
ee70f68887
Wave: Added the BOOST_WAVE_SUPPORT_LONGLONG_INTEGER_LITERALS pp configuration constant.
...
[SVN r38140]
2007-07-04 18:25:52 +00:00
Hartmut Kaiser
5f1903f4b1
Wave: implemented macro introspection iterators.
...
[SVN r38104]
2007-06-27 01:23:21 +00:00
Hartmut Kaiser
130775d53c
Wave: Updated docs, added const specifiers.
...
[SVN r37246]
2007-03-20 19:19:15 +00:00
Hartmut Kaiser
45dec9c8a3
Wave: Fixed a problem in preserve=1 mode, when a C style comment triggered the generation of a #line directive.
...
[SVN r36710]
2007-01-12 19:44:19 +00:00
Hartmut Kaiser
1285529889
Added pragma option values push and pop to the options line, preserve and output.
...
[SVN r36699]
2007-01-12 02:12:12 +00:00
Hartmut Kaiser
d5fdcf6697
Fixed documentation.
...
[SVN r36680]
2007-01-10 01:49:22 +00:00
Hartmut Kaiser
3cf132c4d0
Wave: Extended the copyright notice to include the year 2007.
...
[SVN r36469]
2006-12-20 16:58:16 +00:00
Hartmut Kaiser
862049dae1
Fixed some typos and stylistic quirks.
...
[SVN r34748]
2006-07-27 00:30:27 +00:00
Hartmut Kaiser
705dacbd48
Added new preprocessing hook function: found_line_directive() to be called when a #line directive is encountered.
...
[SVN r34393]
2006-06-25 17:17:28 +00:00
Hartmut Kaiser
6d3913e6f3
Updated Wave documentation.
...
[SVN r34366]
2006-06-22 03:25:19 +00:00
Hartmut Kaiser
590d885491
Added found_warning_directive() and found_error_directive() pp hook functions.
...
[SVN r34327]
2006-06-17 16:27:47 +00:00
Hartmut Kaiser
0db7aa4a08
Added missing file.
...
[SVN r34315]
2006-06-15 22:01:44 +00:00
Hartmut Kaiser
e96accdd01
Added the new pp hooks to Wave.
...
[SVN r34072]
2006-05-23 18:17:58 +00:00
Hartmut Kaiser
56006e45fd
Changed 'evaluated_conditional_expression()' pp hook.
...
[SVN r33962]
2006-05-14 16:41:00 +00:00
Hartmut Kaiser
fc74d27d88
Fixed the Wave tool to return the number of errors occured.
...
[SVN r33910]
2006-05-02 23:07:57 +00:00
Hartmut Kaiser
24fe8e51fe
Fixed the macro tracing information to contain the column numbers of the macro definitions as well (the format used is the same as for error messages)..
...
[SVN r33420]
2006-03-21 15:31:42 +00:00
Hartmut Kaiser
c959794650
Wave V1.2.4
...
[SVN r33362]
2006-03-17 22:40:02 +00:00
Hartmut Kaiser
6cb106cc74
Documentation fix.
...
[SVN r33259]
2006-03-07 19:20:59 +00:00