Commit Graph

239 Commits

Author SHA1 Message Date
Jeff Trull
e941cb5806 Allow lexer input iterators to be Forward or better
This change is implemented primarily by templating the Scanner class
on the lexer IteratorT and using that type for three scanner data
members.  In addition we make use of std::distance/std::advance where
possible so we don't lose performance on RandomAccess inputs.
2017-11-22 09:04:02 -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
7dcb53aa80 Wave: fixed #8848: Wave driver improperly processes 0xFFFFui64 token
[SVN r85077]
2013-07-19 01:49:48 +00:00
Hartmut Kaiser
8224ab9eaf Fixed #8478: Make Boost.wave compatible with Clang's -Wimplicit-fallthrough diagnostic.
[SVN r84012]
2013-04-22 17:01:51 +00:00
Hartmut Kaiser
d589a86c19 Wave: Fixed a problem with context<>::add_macro_definition which sometimes appended a superfluous T_EOF to the macro replacement list.
[SVN r81273]
2012-11-10 01:20:19 +00:00
Hartmut Kaiser
0f064c7faf Wave: fixing a couple of warnings
[SVN r80761]
2012-09-29 20:13:28 +00:00
Hartmut Kaiser
e8fe9b3045 Wave: Changed the effect of the -N command line option to simply not expand the macro by pretending it was not defined. Earlier the whole invocation sequence was skipped, now we skip only the macro itself, which still expands the arguments for the macro invocation.
[SVN r79796]
2012-07-29 13:40:39 +00:00
Hartmut Kaiser
82aee622a6 Wave:
- Added util::create_directories() wrapper to account for new behavior of  boost::filesystem::create_directories().
- Added a new command line option --license=<file> to the Wave driver tool which allows to pre-pend the content of a (license) file to every newly created file. This option simplifies the implementation of partial preprocessing as done on Phoenix, Fusion, etc.

[SVN r79786]
2012-07-28 14:16:37 +00:00
Hartmut Kaiser
f441ea8aed Wave: Changed --c++0x command line option to --c++11.
[SVN r79685]
2012-07-22 23:12:11 +00:00
Hartmut Kaiser
56f4a8e7d2 Fixed #7159: Text-lines are processed as if they were preprocessing directives
[SVN r79684]
2012-07-22 23:08:25 +00:00
Hartmut Kaiser
8c0ac66f86 Wave: fixed #7050: Invalid memory write bug in lexing_exception
[SVN r79175]
2012-06-29 18:55:07 +00:00
Hartmut Kaiser
e5ac1ca3b3 Wave: updating copyrights, minor fixes, bumping version number for release
[SVN r78555]
2012-05-23 14:41:35 +00:00
Hartmut Kaiser
860d0920cc Wave: fixed #5887: flex_string.hpp needs to include <ios>
[SVN r74338]
2011-09-10 22:23:19 +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
1e0208fbb4 Wave: fixed #5569: slex CONTLINE token works only for LF line endings
[SVN r72197]
2011-05-26 22:22:52 +00:00
Hartmut Kaiser
e1d1f933eb Wave: allowing to force interpretation of wchar_t as signed/unsigned, fixed a problem in #pragma option_str(output)
[SVN r72162]
2011-05-25 18:32:51 +00:00
Hartmut Kaiser
1666aa4c96 Wave: updating changelog
[SVN r72063]
2011-05-21 20:27:27 +00:00
Hartmut Kaiser
3cd74d9e3e Wave: bumped version number (V2.3), fixed a problem in interactive mode of Wave driver
[SVN r71833]
2011-05-08 18:34:58 +00:00
Hartmut Kaiser
040c4d33d6 Wave: added new command line option --noexpand/-N
[SVN r71779]
2011-05-07 15:13:45 +00:00
Hartmut Kaiser
ce9a8d1a94 Wave: Added new pp hook: locate_include_file
[SVN r71097]
2011-04-08 00:06:46 +00:00
Hartmut Kaiser
5cd2912a6f Wave: Fixed whitespace handling, added a corresponding set of test cases
[SVN r69196]
2011-02-23 01:31:14 +00:00
Hartmut Kaiser
ab2fdf61e7 Wave: After preprocessing the body of any #pragma wave option() the wave tool now concatenates all adjacent string literals into a single string literal.
[SVN r68146]
2011-01-14 03:35:24 +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
Hartmut Kaiser
12c91c34c1 Wave: updated copyrights, worked on whitespace skipping
[SVN r67893]
2011-01-09 21:54:54 +00:00
Hartmut Kaiser
55752997a3 Wave: more work on C++0x support, fixed a macro expansion problem
[SVN r67117]
2010-12-09 01:44:51 +00:00
Hartmut Kaiser
dc832745b7 Wave: fixing Wave for Boost Filesystem V3, which is now the default, changed build system for Wave tool to disable threading
[SVN r67093]
2010-12-08 01:29:47 +00:00
Hartmut Kaiser
56090535d3 Wave: adjusting code to pass new assert inspect rule
[SVN r66505]
2010-11-12 00:50:46 +00:00
Hartmut Kaiser
cf803c371c Wave: updating ChangeLog
[SVN r66139]
2010-10-21 21:48:47 +00:00
Hartmut Kaiser
4e101d02d8 Wave: fixing pp hook problems
[SVN r65967]
2010-10-14 22:13:08 +00:00
Hartmut Kaiser
eb2d0881aa Wave: improved consistency in reporting skipped tokens to the hooks function when processing conditional preprocessing directives. Added a new test case verifying the skipped_token hook gets called reproducibly (t_2_020.cpp). Started to work on C++0x features for Wave.
[SVN r65314]
2010-09-05 22:33:20 +00:00
Hartmut Kaiser
54bf85b63d Wave: minor edits
[SVN r62727]
2010-06-10 11:36:09 +00:00
Hartmut Kaiser
85a98f4b6d Wave: integrated the new visibility config macros
[SVN r62152]
2010-05-22 17:08:10 +00:00
Hartmut Kaiser
cf6bc3d88a Wave: added file type to iteration context
[SVN r62147]
2010-05-22 15:53:00 +00:00
Hartmut Kaiser
3aa488f260 Wave: updated changelog
[SVN r61405]
2010-04-19 12:07:58 +00:00
Hartmut Kaiser
cb96594875 Wave: updating changelog
[SVN r61214]
2010-04-11 22:10:05 +00:00
Hartmut Kaiser
2d58e13c57 Wave: added new preprocessing hook: emit_line_directive, fixed a couple related problems, added new example
[SVN r60818]
2010-03-24 23:37:24 +00:00
Hartmut Kaiser
b4c8d13ea6 Wave: minor comment edits
[SVN r59574]
2010-02-07 15:50:06 +00:00
Hartmut Kaiser
183f5cae8a Wave: added found_unknown_directive preprocessing hook
[SVN r59537]
2010-02-06 23:23:31 +00:00
Hartmut Kaiser
1379075f35 Wave: bumped version number
[SVN r58718]
2010-01-05 17:35:32 +00:00
Hartmut Kaiser
038843da92 Wave: preparing for Boost release
[SVN r58717]
2010-01-05 17:34:33 +00:00
Hartmut Kaiser
2415e9e6b4 Wave: eliminating some of the strict aliasing warnings generated by gcc
[SVN r57386]
2009-11-04 22:45:16 +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
c0cf3f1985 Wave: pending commits
[SVN r55660]
2009-08-18 20:26:01 +00:00
Hartmut Kaiser
8a9ed4e298 Wave: Minor fix to changelog
[SVN r54015]
2009-06-17 15:32:51 +00:00
Hartmut Kaiser
8c45083e8a Wave: Updated changelog
[SVN r54014]
2009-06-17 15:27:46 +00:00
Hartmut Kaiser
72b796a248 Wave: added --macrocounts/-c command line option to wave driver tool allowing to collect macro invocation counts
[SVN r53586]
2009-06-03 01:06:42 +00:00
Hartmut Kaiser
94131fd28b Wave: fixed another race condition
[SVN r53224]
2009-05-24 02:47:25 +00:00
Hartmut Kaiser
e5a8fdb353 Wave: Incorporated the changes from latest version of the flex_string class (fixes #2946)
[SVN r53207]
2009-05-23 15:36:08 +00:00