Commit Graph

170 Commits

Author SHA1 Message Date
Hartmut Kaiser
8806d2c7e8 [Wave] Unterminated C++/C comment diagnostics are now a warning and not an error anymore.
[SVN r39651]
2007-10-02 15:10:05 +00:00
Hartmut Kaiser
d80ab98250 Wave: Fixed a bug in the Slex token class, which was the reason for some failing tests lately
[SVN r39251]
2007-09-13 21:54:32 +00:00
Hartmut Kaiser
f4aae6dac4 Wave: Added missing file to real_positions example, fixed corresponding Jamfile.
[SVN r38568]
2007-08-10 15:03:46 +00:00
Hartmut Kaiser
09ddadcb4b Wave: Fixed a minor issue in the real_positions example.
[SVN r38475]
2007-08-06 14:43:54 +00:00
Hartmut Kaiser
e5f489787d Wave: Changed return type of some preprocessing hooks to allow to skip the corresponding preprocessor action.
[SVN r38143]
2007-07-04 21:56:56 +00:00
Hartmut Kaiser
0e9ebd8223 Wave: added handling of #import directives, fixed a problem in the Wave driver.
[SVN r38100]
2007-06-26 19:40:04 +00:00
Hartmut Kaiser
3254ccc362 Wave: Changed return value of found_nclude_file hook function.
[SVN r37716]
2007-05-20 00:28:21 +00:00
Hartmut Kaiser
31d06f9594 Wave: changed is_empty() to is_eoi().
[SVN r37345]
2007-04-03 14:02:00 +00:00
Hartmut Kaiser
b067624e87 Wave: Added the is_empty() function to token classes, returning true if the token has been initialized to be the end of input token (T_EOI).
[SVN r37344]
2007-04-03 13:12:53 +00:00
Hartmut Kaiser
d7a81bccc5 Wave: Fixed a problem in the SLex C++ lexer (cpp_tokens example).
[SVN r37274]
2007-03-23 19:28:15 +00:00
Hartmut Kaiser
4f47b2c781 Wave: Untabified files.
[SVN r37065]
2007-02-25 17:45:00 +00:00
Hartmut Kaiser
ce6efaed9e Untabified file.
[SVN r37059]
2007-02-25 00:55:37 +00:00
Hartmut Kaiser
b379b3292a Added the possibility to use static pre-compiled DFA tables for the lexertl based lexer.
[SVN r37058]
2007-02-25 00:47:11 +00:00
Hartmut Kaiser
725f6f023e Wave: fix for RTTI problem when using VC7.1/STLport.
[SVN r37024]
2007-02-20 22:07:52 +00:00
Hartmut Kaiser
5f1fd76a92 Wave: Untabified file.
[SVN r37007]
2007-02-19 19:32:25 +00:00
Hartmut Kaiser
eaadaaac0f Fixed a wrong #include directive.
[SVN r36861]
2007-01-31 15:00:01 +00:00
Hartmut Kaiser
8c711a8fd1 Wave: updated for newest lexertl version.
[SVN r36785]
2007-01-25 16:09:36 +00:00
Hartmut Kaiser
1a87a383ba Wave: updated lexertl based lexer for newest version of the lexertl library.
[SVN r36764]
2007-01-20 23:27:16 +00:00
Hartmut Kaiser
dc8846cbf5 Added pragma option values push and pop to the options line, preserve and output.
[SVN r36698]
2007-01-12 02:04:19 +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
633465b864 Wave: deleted V1 Jamfiles.
[SVN r36394]
2006-12-14 21:10:32 +00:00
Hartmut Kaiser
172f83d4b9 Wave: untabified file.
[SVN r36313]
2006-12-10 18:54:40 +00:00
Hartmut Kaiser
bc3b1dc040 Wave: Added load save of DFA tables to lexertl lexer.
[SVN r36289]
2006-12-07 16:24:26 +00:00
Hartmut Kaiser
2be5735cf4 Wave: Fixed a bug in the Slex lexer.
[SVN r36288]
2006-12-06 18:20:00 +00:00
Hartmut Kaiser
eb5bd7fa89 Wave: completed first version of the lexertl based lexer.
[SVN r36238]
2006-12-02 03:06:31 +00:00
Hartmut Kaiser
bdfb4ec8e8 Wave: Updated lexertl lexer.
[SVN r36218]
2006-11-30 23:34:52 +00:00
Hartmut Kaiser
cf842fc02e Fixed compilation error.
[SVN r36215]
2006-11-30 17:00:56 +00:00
Hartmut Kaiser
c31b153857 Wave: minor pending changes.
[SVN r36212]
2006-11-30 13:27:56 +00:00
Hartmut Kaiser
9a56d46717 Added the support_option_insert_whitespace language option.
[SVN r36211]
2006-11-30 13:22:39 +00:00
Hartmut Kaiser
fae2ae258e Wave: Added boost_system to jamfiles.
[SVN r36205]
2006-11-30 00:34:58 +00:00
Hartmut Kaiser
c36c1eaa32 Wave: Updated the lexertl lexer. Still problems with the lexertl lib.
[SVN r36198]
2006-11-29 14:14:40 +00:00
Hartmut Kaiser
ca2f06c3da Untabified file.
[SVN r36181]
2006-11-26 23:35:58 +00:00
Hartmut Kaiser
26563d403c Changed the list_includes sample to use a lexer which is based on the lexertl library written by Ben Hanson (http://www.benhanson.net/lexertl.html).
[SVN r36170]
2006-11-23 22:24:03 +00:00
Hartmut Kaiser
8895b44419 Wave: Added token_statistics sample.
[SVN r36157]
2006-11-23 02:01:33 +00:00
Hartmut Kaiser
068ed18ae1 Factored out the pure lex_input_interface to simplify writing different lexer types for Wave.
[SVN r36141]
2006-11-22 02:33:45 +00:00
Hartmut Kaiser
6c8d24abfc Removed not needed code.
[SVN r35951]
2006-11-09 14:49:42 +00:00
Hartmut Kaiser
2e422497bc Wave: modified the real_positions example to use a new tokentype carrying both positions, the original and the corrected one.
[SVN r35950]
2006-11-09 14:35:26 +00:00
Hartmut Kaiser
8ad34a43ed Changed the example to output the detailed token information.
[SVN r35930]
2006-11-09 00:35:56 +00:00
Hartmut Kaiser
8373f59803 Added new pp hook: generated_token().
[SVN r35910]
2006-11-08 03:41:09 +00:00
Hartmut Kaiser
28195d535b Wave: Untabified translation_unit_skipper.h
[SVN r35779]
2006-10-29 19:23:52 +00:00
Hartmut Kaiser
c791f7edec Minor tweaks in Wave.
[SVN r35422]
2006-09-29 16:03:14 +00:00
Hartmut Kaiser
26ef361a4c Hannibal: changed printout on parsing error.
[SVN r35041]
2006-09-08 01:28:35 +00:00
Hartmut Kaiser
f6f712c0e3 Hannibal: fixed a parsing issue.
[SVN r35040]
2006-09-08 01:09:59 +00:00
Hartmut Kaiser
61758d08ec Wave: Fixed a bug resulting in a crash if a macro was redefined with a shorter expansion list as it was defined initially. Added a corresponding test case.
[SVN r34926]
2006-08-23 01:40:23 +00:00
Hartmut Kaiser
d00a589383 Wave: Added more command line options to the Hannibal sample. Incorporated the newest parser version.
[SVN r34924]
2006-08-22 19:55:56 +00:00
Hartmut Kaiser
4345f26d4a Fixed a couple of SunPro5.8 warnings.
[SVN r34754]
2006-07-27 16:56:06 +00:00
Hartmut Kaiser
4d89e2c50e Renamed a file.
[SVN r34567]
2006-07-17 01:54:34 +00:00
Hartmut Kaiser
99c014af40 Another try to fix the SunPro issue.
[SVN r34459]
2006-07-04 20:04:32 +00:00
Hartmut Kaiser
010a1459ed Appplied RTTI Jamfile.v2 fixes for VC7.1
[SVN r34445]
2006-07-02 18:30:47 +00:00
Hartmut Kaiser
55305c69cd Fixed exception specifications to catch exceptions as const&.
[SVN r34385]
2006-06-24 17:00:22 +00:00
Hartmut Kaiser
adad8e52cc Added new sample application to Wave: Hannibal: a partial C++ parser.
[SVN r34364]
2006-06-21 02:58:22 +00:00
Hartmut Kaiser
526837c8a7 Added calls to skipped_tokens() pp hook for end of line tokens of a skipped #elif directive.
[SVN r34349]
2006-06-18 16:57:36 +00:00
Hartmut Kaiser
9145802cc6 Added found_warning_directive() and found_error_directive() pp hook functions.
[SVN r34326]
2006-06-17 15:48:01 +00:00
Hartmut Kaiser
86418bd398 Added optional import keyword support.
[SVN r34314]
2006-06-15 22:01:09 +00:00
Jürgen Hunold
5898dab07f Fixed new name of source file.
[SVN r34148]
2006-06-02 19:23:07 +00:00
Hartmut Kaiser
0801914eb0 Fixed Jamfile.v2 files for Wave sample applications.
[SVN r33971]
2006-05-15 15:08:10 +00:00
Hartmut Kaiser
56006e45fd Changed 'evaluated_conditional_expression()' pp hook.
[SVN r33962]
2006-05-14 16:41:00 +00:00
Hartmut Kaiser
a1771f5c00 Fixed Wave Jamfile.v2 to correctly disable RTTI for VC7.1
[SVN r33909]
2006-05-02 15:19:49 +00:00
Hartmut Kaiser
01e4a5ff83 Added proper versioning support to the serialization of state.
[SVN r33410]
2006-03-20 18:04:09 +00:00
Hartmut Kaiser
c959794650 Wave V1.2.4
[SVN r33362]
2006-03-17 22:40:02 +00:00
Hartmut Kaiser
2da3dac1ec Fixed another stupid error.
[SVN r33318]
2006-03-11 04:18:07 +00:00
Hartmut Kaiser
9a59dec0fa Wave: Fixed a dynaload compilation problem with VC7.1 of the re2c lexer tests.
[SVN r33193]
2006-03-01 18:40:25 +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
e84efe1220 Wave now correctly recognizes pp-number tokens.
[SVN r32374]
2006-01-23 03:45:35 +00:00
Hartmut Kaiser
f09d7d60c7 Fixed Boost bug 1395857.
[SVN r32212]
2006-01-03 15:24:09 +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
5b8ab90dbd Switched to re2c V0.9.11.
[SVN r32106]
2005-12-19 17:32:38 +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
71ca605c97 Added the <vc-7_1-stlport><*><rtti>off directive to all of the Wave V1 Jamfiles.
[SVN r31714]
2005-11-20 22:44:11 +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
9b82f36e35 Beautified generated output.
[SVN r31692]
2005-11-18 20:10:47 +00:00
Hartmut Kaiser
93e881b703 Tweaked the advanced_hooks sample.
[SVN r31575]
2005-11-05 22:08:11 +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
e152ad4269 Fixed line numbering inside the generated tokens.
[SVN r30921]
2005-09-12 17:17:42 +00:00
Hartmut Kaiser
3a81d7f7e1 Enabled --preserved and --long_long modes by default for the cpp_tokens sample.
[SVN r30912]
2005-09-11 20:40:07 +00:00
Hartmut Kaiser
51a168fae0 Fixed Sourceforge bug 1274584.
[SVN r30707]
2005-08-28 03:16:56 +00:00
Hartmut Kaiser
ad88aa3f4b Fixed a True64 problem.
[SVN r29892]
2005-07-04 20:57:05 +00:00
Hartmut Kaiser
445059cb46 Fixed two warnings.
[SVN r29331]
2005-05-31 18:48:40 +00:00
Hartmut Kaiser
ce70925868 Fixed missing typename keywords.
[SVN r29313]
2005-05-31 06:26:27 +00:00
Hartmut Kaiser
43940e701d Fixed a slex problem.
[SVN r29298]
2005-05-30 07:57:26 +00:00
Hartmut Kaiser
4a23d29c68 Applied a CodeWarrior workaround for the slex lexer.
[SVN r29268]
2005-05-29 18:35:42 +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
28ef35b9ba Special disambiguation for the True64 cxx compiler.
[SVN r29156]
2005-05-23 09:32:29 +00:00
Hartmut Kaiser
a725c1af1c Added the missing initializer for the const eof data member.
[SVN r29155]
2005-05-23 09:20:05 +00:00
Hartmut Kaiser
90d33c3077 Worked around a bug in CW at least upto V9.4.
[SVN r29065]
2005-05-19 15:13:18 +00:00
Hartmut Kaiser
cac6dd7966 Fixed gcc warnings and compilation problems.
[SVN r29035]
2005-05-18 17:39:57 +00:00
Hartmut Kaiser
aac9434095 Fixed compilation problem and warnings on gcc4.
[SVN r29030]
2005-05-18 11:01:15 +00:00
Hartmut Kaiser
44d10524f9 Fixed compilation errors on gcc4.
[SVN r29028]
2005-05-18 06:29:13 +00:00
Hartmut Kaiser
dbb6cac36b Fixed compilation errors on CW9.4.
[SVN r29027]
2005-05-18 06:25:02 +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
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
e26d617e67 Wave V1.1.17.
[SVN r28744]
2005-05-08 17:58:57 +00:00
Hartmut Kaiser
a0c585ca45 Fixed a bug in the slex regex specifications.
[SVN r28712]
2005-05-07 12:45:09 +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