Commit Graph

422 Commits

Author SHA1 Message Date
Hartmut Kaiser
75aa220e94 Fixed a stupid compilation problem.
[SVN r33315]
2006-03-10 15:28:40 +00:00
Hartmut Kaiser
cb793b0c57 Wave: Fixed a dynaload compilation problem with VC7.1 of the re2c lexer tests.
[SVN r33192]
2006-03-01 18:33:45 +00:00
Hartmut Kaiser
add21dc6e5 Fixed a problem in the expression parser value type.
[SVN r33166]
2006-02-28 03:57:03 +00:00
Hartmut Kaiser
b79287fa42 Fixed two bugs related to file inclusion.
[SVN r33130]
2006-02-27 02:28:24 +00:00
Hartmut Kaiser
a493efd766 [Wave] Moved token_id query functions to a separate source file.
[SVN r32378]
2006-01-23 17:03:16 +00:00
Hartmut Kaiser
e84efe1220 Wave now correctly recognizes pp-number tokens.
[SVN r32374]
2006-01-23 03:45:35 +00:00
Hartmut Kaiser
a3f6f97ae1 Added a diagnostic message to the wave driver if a #pragma wave system() is found without the -x command line option.
[SVN r32346]
2006-01-18 01:53:24 +00:00
Hartmut Kaiser
95d803df7b Made the wave::context<> type noncopyable.
[SVN r32331]
2006-01-16 02:57:05 +00:00
Hartmut Kaiser
7ddd9e92a6 Added missing calls to the skipped_token() pp hook function.
[SVN r32314]
2006-01-13 18:17:30 +00:00
Hartmut Kaiser
8b87cd0211 Added a missing throw() specification.
[SVN r32200]
2006-01-01 21:38:43 +00:00
Hartmut Kaiser
5115faf51e Updated the Wave copyright notice to include the year 2006.
[SVN r32154]
2005-12-24 19:50:47 +00:00
Hartmut Kaiser
00fa5bd6cf Fixed a (Windows specific) problem in Wave which sometimes throwed a boost::file_system exception.
[SVN r32105]
2005-12-19 17:16:13 +00:00
Hartmut Kaiser
5839df80a9 Fixed a bogus assertion in Wave.
[SVN r32095]
2005-12-18 21:11:41 +00:00
Hartmut Kaiser
8916d4ad54 Fixed a bug wrt error propagation in the Wave expression parser.
[SVN r32058]
2005-12-15 03:00:38 +00:00
Hartmut Kaiser
5f110486a9 Fixed missing #pragma warning(pop) directives in Wave.
[SVN r32057]
2005-12-15 02:15:57 +00:00
Hartmut Kaiser
cd419d7475 Added config support for Wave #pragma command directives.
[SVN r31980]
2005-12-11 00:15:17 +00:00
Hartmut Kaiser
bb62cfffc5 Changed in the Wave library all throw's to boost::throw_exception().
[SVN r31950]
2005-12-08 03:33:38 +00:00
Hartmut Kaiser
fbc913d155 Fixed a error recovery problem in Wave.
[SVN r31935]
2005-12-06 16:04:56 +00:00
Hartmut Kaiser
a8db57d4e6 Added partial error recovery support to Wave.
[SVN r31924]
2005-12-06 00:17:59 +00:00
Hartmut Kaiser
27a40b73a5 Pending commit...
[SVN r31868]
2005-12-01 20:43:26 +00:00
Hartmut Kaiser
f1e216d4e4 removed a incompatibility with older versions.
[SVN r31867]
2005-12-01 18:38:04 +00:00
Hartmut Kaiser
a8880c23de Merged the new whitespca handling policy with the existing preprocessing hooks.
[SVN r31864]
2005-12-01 17:58:43 +00:00
Hartmut Kaiser
06d43eb43f Fixed a gcc compilation error.
[SVN r31850]
2005-12-01 01:57:54 +00:00
Hartmut Kaiser
8475f5bfaa Fixed a minor whitespace handling issue.
[SVN r31840]
2005-11-30 22:33:02 +00:00
Hartmut Kaiser
e47b8234ef Added the whitespace handling policy to the wave library.
[SVN r31839]
2005-11-30 21:30:24 +00:00
Hartmut Kaiser
58558f08d4 Added dll support to Wave.
[SVN r31729]
2005-11-21 20:27:02 +00:00
Hartmut Kaiser
db2f382f90 Fixed Wave test suite to handle correctly the new BOOST_WAVE_USE_STRICT_LEXER mode.
[SVN r31710]
2005-11-20 01:20:46 +00:00
Hartmut Kaiser
d4636c6ea0 Wave: added optional '$' to the basic source character set.
[SVN r31700]
2005-11-19 18:31:32 +00:00
Hartmut Kaiser
04e9c317c3 Minor fix.
[SVN r31694]
2005-11-18 22:12:32 +00:00
Hartmut Kaiser
a7f49c725c Removed assertion, replaced with more sensible code.
[SVN r31691]
2005-11-18 20:02:35 +00:00
Hartmut Kaiser
2e9da94342 Updated the Wave docs to reflect the new advanced hooks.
[SVN r31559]
2005-11-05 02:27:14 +00:00
Hartmut Kaiser
1742c69fd2 Added advanced hooks and a new sample.
[SVN r31551]
2005-11-04 02:34:17 +00:00
Hartmut Kaiser
806c1d4465 Fixed warnings reported by gcc 4.x.
[SVN r31239]
2005-10-08 13:27:39 +00:00
Hartmut Kaiser
b171889400 Fixed a missing const specifier.
[SVN r31237]
2005-10-08 12:54:28 +00:00
Hartmut Kaiser
9b2631cbcd Added missing headers.
[SVN r31232]
2005-10-08 03:29:36 +00:00
Hartmut Kaiser
e16179c92f Fixed an iterator issue reported by the gcc debug stl.
[SVN r31229]
2005-10-07 22:52:14 +00:00
Hartmut Kaiser
e027416fb0 Fixed error handling for passive #if/#elif branches.
[SVN r31184]
2005-10-03 15:15:30 +00:00
Hartmut Kaiser
e152ad4269 Fixed line numbering inside the generated tokens.
[SVN r30921]
2005-09-12 17:17:42 +00:00
Hartmut Kaiser
e2e58be921 Bumped wave version to 1.2.1.
[SVN r30911]
2005-09-11 18:46:03 +00:00
Hartmut Kaiser
e9c45298ca Fixed missing namespace specifiers in token definition macros.
[SVN r30910]
2005-09-11 18:43:05 +00:00
Hartmut Kaiser
3065303d19 Fixed a bug where the 'parameters' and 'definition' parameters to the
defined_macro callback of the preprocessing hooks were always empty (thanks
to Stephan Seefeld for reporting).


[SVN r30829]
2005-09-06 16:20:54 +00:00
Hartmut Kaiser
493d0eeb9a Applied a patch for FreeBSD removing a name clash wrt T_DIVIDE.
[SVN r30498]
2005-08-06 15:35:43 +00:00
Hartmut Kaiser
f3a9046110 Fixed a compilation error on the True64 platform.
[SVN r29871]
2005-07-02 12:49:18 +00:00
Hartmut Kaiser
8408f21223 Added a workaround for the Compaq Tru64 compiler.
[SVN r29750]
2005-06-23 13:10:14 +00:00
Hartmut Kaiser
9e72f6840f Removed the special CW testing code.
[SVN r29466]
2005-06-07 16:00:18 +00:00
Hartmut Kaiser
f0e8f4c6a9 Fixed typedef name.
[SVN r29386]
2005-06-02 18:21:16 +00:00
Hartmut Kaiser
279383e60e Changed the date/time grammar to help the CW9.5 compiler.
[SVN r29385]
2005-06-02 18:18:33 +00:00
Hartmut Kaiser
0bb1bcdc51 Added more verbose debug output to diagnose the CW assertion.
[SVN r29337]
2005-06-01 13:27:15 +00:00
Hartmut Kaiser
1f673fd2a9 Inserted some test code.
[SVN r29322]
2005-05-31 13:42:43 +00:00
Hartmut Kaiser
a6a4504703 Added special handling of the eof tokens inside the lexer iterator classes for Comeau
[SVN r29241]
2005-05-27 10:25:45 +00:00
Hartmut Kaiser
a847b2aefa Fixed test cases to scale to 64 bit platforms.
[SVN r29026]
2005-05-18 06:10:11 +00:00
Hartmut Kaiser
7d2ab5017f Unified lexer interface, adjusted namespaces.
[SVN r28989]
2005-05-17 12:32:11 +00:00
Hartmut Kaiser
8cb148a96c Removed tabs in files.
[SVN r28983]
2005-05-17 09:39:55 +00:00
Hartmut Kaiser
b5577098d0 Applied a change which hopefully fixes the issues on CW8.x.
[SVN r28981]
2005-05-17 06:08:31 +00:00
Hartmut Kaiser
c86e4352bf Fixed a bug where Wave emitted the found C++ comments in --preserve mode even if these were found inside of disabled #if/#endif blocks.
[SVN r28957]
2005-05-16 14:25:12 +00:00
Hartmut Kaiser
54c512ccfd Fixed a whitespace eater bug.
[SVN r28948]
2005-05-16 09:36:01 +00:00
Hartmut Kaiser
2ed503a7fb Fixed the found_include_directive preprocessing hook to carry the information about #include_next directives as well.
[SVN r28910]
2005-05-14 20:53:13 +00:00
Hartmut Kaiser
e4d5724c1e Added the Boost license to the flex_string file.
[SVN r28847]
2005-05-12 17:15:47 +00:00
Hartmut Kaiser
f138a64807 Added column handling to the default re2c based lexer. Fixed documentation.
[SVN r28837]
2005-05-12 07:41:20 +00:00
Hartmut Kaiser
b2a5e52fc1 Upadated the copyright statement for the flex_string class.
[SVN r28826]
2005-05-11 15:17:01 +00:00
Hartmut Kaiser
77ba54763e Yet another trigraph token id fix.
[SVN r28816]
2005-05-11 12:11:28 +00:00
Hartmut Kaiser
3f382f24b1 Fixed a bug in the lexer which falsly recognised #include_next statements under certain circumstances.
[SVN r28806]
2005-05-11 06:20:47 +00:00
Hartmut Kaiser
6efa3a6b8d Fixed compilation when BOOST_WAVE_DUMP_PARSE_TREE is defined.
[SVN r28786]
2005-05-10 16:44:51 +00:00
Hartmut Kaiser
2009503b74 Fixed character literal overflow issue for platforms where sizeof(wchar_t) == 4.
[SVN r28764]
2005-05-09 12:59:36 +00:00
Hartmut Kaiser
e26d617e67 Wave V1.1.17.
[SVN r28744]
2005-05-08 17:58:57 +00:00
Hartmut Kaiser
13a363204a Avoid warnings on gcc.
[SVN r28713]
2005-05-07 13:02:38 +00:00
Hartmut Kaiser
a48ad509f3 Fixed the overflow problem for long character literals, fixed the 'LL' issue.
[SVN r28711]
2005-05-07 11:18:19 +00:00
Hartmut Kaiser
deac780b38 Fixed gcc warnings.
[SVN r28700]
2005-05-06 19:56:44 +00:00
Hartmut Kaiser
4949265679 Fixed a token-ids bug.
[SVN r28696]
2005-05-06 09:16:02 +00:00
Hartmut Kaiser
189861d0ec Made the True64 compiler happy, fixed a 'LL' suffix bug.
[SVN r28695]
2005-05-06 09:10:19 +00:00
Hartmut Kaiser
795fbd663f Fixed almost all problems diagnosed by the Boost inspection report.
[SVN r28650]
2005-05-04 07:24:44 +00:00
Hartmut Kaiser
116a39e1fc Fixed long character literal handling, fixed a bug in the testapplication.
[SVN r28634]
2005-05-03 16:47:11 +00:00
Hartmut Kaiser
9124a82540 Fixed a problem during parsing of hexadecimal character literals.
[SVN r28602]
2005-05-02 20:11:30 +00:00
Hartmut Kaiser
66225a8915 Fixed parsing of long character literals (such as '\x1234').
[SVN r28589]
2005-05-02 18:35:07 +00:00
Hartmut Kaiser
10aa633dd7 Fixed date time string parsing for the CW9.3 compiler.
[SVN r28586]
2005-05-02 16:29:10 +00:00
Hartmut Kaiser
785326b7a9 Fixed the time stamp parser for CW9.3 (hopefully).
[SVN r28570]
2005-05-02 06:40:49 +00:00
Hartmut Kaiser
a2df95b74c Improved error handling for out of range character literals, added several new test cases.
[SVN r28557]
2005-05-01 21:01:23 +00:00
Hartmut Kaiser
a4d0ea235e Fixed error reporting for a specific use case, added corresponding testcase.
[SVN r28536]
2005-04-29 20:08:34 +00:00
Hartmut Kaiser
c747965903 Fixed token comparision for the True64 platform.
[SVN r28534]
2005-04-29 16:55:26 +00:00
Hartmut Kaiser
6889e578a1 Removed unneeded file.
[SVN r28533]
2005-04-29 16:52:11 +00:00
Hartmut Kaiser
bab9d3bfbe Fixed error reported by the True64 toolset.
[SVN r28526]
2005-04-29 12:07:49 +00:00
Hartmut Kaiser
a78b2746c9 The T_EOF token doesn't carry the value of the previous token anymore.
[SVN r28503]
2005-04-27 10:27:20 +00:00
Hartmut Kaiser
51ec83e6d1 Fixed several como --a warnings.
[SVN r28501]
2005-04-27 07:55:57 +00:00
Hartmut Kaiser
ef93298acb Enforced that #if/#endif are balanced file wise.
[SVN r28084]
2005-04-10 18:26:34 +00:00
Hartmut Kaiser
96aef5d5cc Added workaround for gcc3.3.x bug.
[SVN r28082]
2005-04-10 13:45:18 +00:00
Hartmut Kaiser
37f366153d Minor fixes...
[SVN r28023]
2005-04-06 18:38:37 +00:00
Hartmut Kaiser
19af6941de Fixed a compilation problem for CW9.
[SVN r28013]
2005-04-06 12:16:40 +00:00
Stefan Slapeta
d7f3a33007 fixed cw 9.4 regression
[SVN r28012]
2005-04-06 11:36:05 +00:00
Hartmut Kaiser
93fac3a3b0 Added even more std:: namespace qualifiers for functions from the CRT lib.
[SVN r28009]
2005-04-06 11:07:37 +00:00
Hartmut Kaiser
ddf3523acf Added the first part of the MCPP validation suite to the Wave unit tests.
[SVN r28005]
2005-04-06 07:28:34 +00:00
Hartmut Kaiser
c98b49353d Renamed files to comply with the Boost rules.
[SVN r27971]
2005-04-05 07:34:00 +00:00
Hartmut Kaiser
81365f8d42 Added a compiler workaround.
[SVN r27968]
2005-04-05 06:06:55 +00:00
Hartmut Kaiser
b043597c61 Fixed a error reporting problem.
[SVN r27962]
2005-04-04 20:32:54 +00:00
Hartmut Kaiser
d449562045 Added more unit tests.
[SVN r27959]
2005-04-04 19:40:32 +00:00
Hartmut Kaiser
26e6813029 Fixed CW related warnings.
[SVN r27952]
2005-04-04 11:27:35 +00:00
Hartmut Kaiser
1c2ca265ea Added lot of unit tests, fixed a couple of minor bugs.
[SVN r27950]
2005-04-04 11:03:51 +00:00
Hartmut Kaiser
ae1695fc49 Fixed a problem in the whitespace eating component.
[SVN r27945]
2005-04-03 16:54:38 +00:00
Hartmut Kaiser
bbf85da3ea Wave test application now properly supports config files. Fixed minor issues.
[SVN r27944]
2005-04-03 15:22:13 +00:00
Hartmut Kaiser
ba787f7dfe Added compiler workarounds.
[SVN r27941]
2005-04-03 08:31:12 +00:00
Hartmut Kaiser
d103a70b04 Fixed an unescaping bug.
[SVN r27910]
2005-04-01 20:48:20 +00:00
Hartmut Kaiser
5878452514 Updated Wave.
[SVN r27905]
2005-04-01 17:46:06 +00:00
Hartmut Kaiser
b7ef274181 Adjusted copyrights to reflect Boost adoption. Several minor fixes.
[SVN r27885]
2005-03-30 15:32:57 +00:00
Hartmut Kaiser
d01b4f4a90 FIxed issues wrt the include search path handling.
[SVN r27817]
2005-03-25 19:08:42 +00:00
Hartmut Kaiser
7db49ef710 Added a 'preserve comments' option.
[SVN r27766]
2005-03-22 13:58:30 +00:00
Hartmut Kaiser
7bfd3819fe Fixed problems where alternative bit oriented keywords (or, and bit_and etc.) were not recognised as valid identifiers.
[SVN r27755]
2005-03-22 06:52:01 +00:00
Hartmut Kaiser
6a280bc597 Reverted latest change wrt include paths.
[SVN r27751]
2005-03-21 10:07:16 +00:00
Hartmut Kaiser
97a3639744 Fixed a include path problem when relative paths were used.
[SVN r27748]
2005-03-20 18:42:47 +00:00
Hartmut Kaiser
19dba10dbf Slight changes to the reported relative #include paths.
[SVN r27742]
2005-03-19 18:03:53 +00:00
Hartmut Kaiser
0eb9ff25f0 Fixed relative path given to the opened_include_file() function.
[SVN r27724]
2005-03-17 16:48:31 +00:00
Hartmut Kaiser
e09be88094 Fixed a 'off by one' error.
[SVN r27720]
2005-03-17 07:43:29 +00:00
Hartmut Kaiser
f87105c293 Checked in missing changes.
[SVN r27719]
2005-03-17 07:30:02 +00:00
Hartmut Kaiser
2f5197f65a Fixed the include file name conventions used during calling the preprocessing hooks.
[SVN r27710]
2005-03-16 19:36:58 +00:00
Hartmut Kaiser
16efc8beec Minor optimisation.
[SVN r27686]
2005-03-16 07:45:49 +00:00
Hartmut Kaiser
48a37ec6c2 Fixed a bug in the #include_next handling code.
[SVN r27684]
2005-03-16 06:56:37 +00:00
Hartmut Kaiser
ab97de719e Fixed a bad preprocessor constant.
[SVN r27674]
2005-03-15 18:00:38 +00:00
Hartmut Kaiser
37d9f9fbcb Fixed a bug in the handling of #include_next directives inside of non-evaluated #if blocks.
[SVN r27673]
2005-03-15 17:59:10 +00:00
Hartmut Kaiser
5dedb3c93f Fixed the undefined_macro preproceesing hook to get passed the full token instead of the macro name only.
[SVN r27655]
2005-03-14 20:57:37 +00:00
Hartmut Kaiser
29fc1f71ac Fixed handling of #include_next.
[SVN r27654]
2005-03-14 19:20:20 +00:00
Hartmut Kaiser
3da4f1d12e Fixed the long Wave version.
[SVN r27631]
2005-03-13 18:10:18 +00:00
Hartmut Kaiser
b1be4d0622 __BASE_FILE__ now defined in C99 and variadics modes as well.
[SVN r27620]
2005-03-12 11:12:11 +00:00
Hartmut Kaiser
6e3f06b3ce Fixed a bug in Wave which predefined the wrong set of macros in C++ mode when variadics were enabled.
[SVN r27619]
2005-03-12 10:49:00 +00:00
Hartmut Kaiser
d588f4f77f Added Wave V1.1.14 to the Boost CVS.
[SVN r27458]
2005-02-21 08:54:23 +00:00