Commit Graph

2382 Commits

Author SHA1 Message Date
Agustín K-ballo Bergé
e895a826f9 Spirit X3 unused
[SVN r85769]
2013-09-18 01:32:03 +00:00
Joel de Guzman
2a893944ee Simplified code for overflow handling: looking at the code i see now that it is actually safer to always check for overflow by default. most architectures have 2s complement anyway, so the optimization only happens on some obscure architecture where ints do not wrap (also for floats--they do not wrap as well). i'll simply have ints check for overflow *always* and provide a CP for special types that the user can specialize for optimization.
[SVN r85440]
2013-08-24 02:32:49 +00:00
Hartmut Kaiser
9d42641cd5 Spirit: Fixing clang regressions
[SVN r85421]
2013-08-22 14:36:22 +00:00
Joel de Guzman
57225b9688 Fixes #9027
[SVN r85415]
2013-08-21 13:34:02 +00:00
Joel de Guzman
89c9a8f547 Fixes ticket #9007
[SVN r85399]
2013-08-20 05:11:14 +00:00
Hartmut Kaiser
90d65d4be7 Fixed #8970: Karma fails to output a sign with a user-defined real number policy
[SVN r85221]
2013-08-06 13:36:38 +00:00
Hartmut Kaiser
0487573880 Spirit: fixed #3999: multi_pass cannot deal with all input iterators
[SVN r85178]
2013-07-31 15:23:12 +00:00
Joel de Guzman
e8282972be Merge changes from trunk
[SVN r85051]
2013-07-16 10:46:32 +00:00
Hartmut Kaiser
e3094e5a6f Spirit: Merging from trunk
[SVN r85046]
2013-07-15 17:24:24 +00:00
Hartmut Kaiser
81b9bb40b0 Spirit: fixing a problem in karma::omit
[SVN r84814]
2013-06-17 13:11:30 +00:00
Hartmut Kaiser
59d9d69917 Merging from trunk
[SVN r84745]
2013-06-11 19:49:19 +00:00
Hartmut Kaiser
5c8bd9fefb Removing superflous typename
[SVN r84744]
2013-06-11 19:46:49 +00:00
Hartmut Kaiser
b88eece0a6 Spirit: Merging from trunk
[SVN r84640]
2013-06-04 19:29:46 +00:00
Hartmut Kaiser
4915ddcfc1 Spirit: Fixed #8563: Compilation error with boost::spirit::lex::less actor
[SVN r84631]
2013-06-04 15:16:52 +00:00
Hartmut Kaiser
2d46425ad4 Spirit: merging from trunk
[SVN r84286]
2013-05-14 23:46:54 +00:00
Hartmut Kaiser
fc83d23f2a Fix #8563: Compilation error with boost::spirit::lex::less actor
[SVN r84285]
2013-05-14 23:43:46 +00:00
Andrey Semashev
c0ad0c00cc Fixed accidental previous commit.
[SVN r84255]
2013-05-12 18:13:08 +00:00
Andrey Semashev
14f4b73ef7 Merged from trunk: By default, when 32 bit x86 build is requested, i686 instruction set is chosen now. i386 instruction set removed since de facto it is not supported by some core libraries (Boost.Atomic and Boost.SmartPtr) and major operating systems. The minimum 32 bit x86 instruction set is i486 now. Also added a few more instruction sets that appeared in recent CPUs.
[SVN r84254]
2013-05-12 18:02:44 +00:00
Hartmut Kaiser
0f3fe1e6cd Spirit: merging from trunk
[SVN r84119]
2013-05-02 19:51:13 +00:00
Hartmut Kaiser
37ef3b7591 Fix #8066: Conflict with Boost.Log on GCC 4.4
[SVN r84118]
2013-05-02 19:48:25 +00:00
Hartmut Kaiser
590a2c203f Spirit: Merging from trunk
[SVN r83927]
2013-04-16 12:48:05 +00:00
Hartmut Kaiser
0f52ab8636 Spirit: making sure destructor of temporary stream is called in the right places
[SVN r83926]
2013-04-16 12:16:39 +00:00
Hartmut Kaiser
6ae7c1548f Spirit: merging from trunk
[SVN r83840]
2013-04-10 22:51:13 +00:00
Hartmut Kaiser
892d8ec125 Fix #8381: karma::uint_generator fails to compile in C++11 mode
[SVN r83776]
2013-04-06 14:36:38 +00:00
Andrey Semashev
f4df95f2d0 Fixed compilation on compilers with support for static_assert.
[SVN r83754]
2013-04-03 19:16:59 +00:00
Hartmut Kaiser
94d5862df7 Spirit: Merging from trunk
[SVN r83739]
2013-04-03 13:17:15 +00:00
Hartmut Kaiser
ae8b2b54b3 Spirit: fix #8361: Linking problems with MSVC
[SVN r83738]
2013-04-03 13:13:12 +00:00
Hartmut Kaiser
c275ac9291 Spirit: Merging trunk
[SVN r83487]
2013-03-18 11:31:16 +00:00
Hartmut Kaiser
29f6fcdaa0 Fix #8302: Lexer does not relase iterator - excellent catch!
[SVN r83486]
2013-03-18 11:28:33 +00:00
Hartmut Kaiser
f7f2dd4d9a Merging Spirit fixes
[SVN r83463]
2013-03-16 14:46:00 +00:00
Hartmut Kaiser
2b4c331e70 Fix #8291: Lexer fails to work on ARM
[SVN r83462]
2013-03-16 14:39:51 +00:00
Hartmut Kaiser
3e013475ab Fix #6248: multi_pass_iterator not flushed automatically by expectation operator
[SVN r83461]
2013-03-16 14:36:12 +00:00
Hartmut Kaiser
82cc0ae61a Applying patch fixing a double destruction in detail::hold_any
[SVN r83414]
2013-03-13 13:32:21 +00:00
Joel de Guzman
8b0085e735 Fixes #8186
[SVN r83367]
2013-03-09 04:41:33 +00:00
Joel de Guzman
2acebaf994 Fixes #7942
[SVN r82658]
2013-01-28 16:37:15 +00:00
Hartmut Kaiser
2f0efa2e73 Spirit: merging from trunk
[SVN r82574]
2013-01-20 23:59:21 +00:00
Hartmut Kaiser
ad53d2e841 Fix #7900: karma indirect_iterator returns reference to temporary
[SVN r82521]
2013-01-17 13:33:58 +00:00
Hartmut Kaiser
e189d62237 Spirit: Fixing merge problem
[SVN r82376]
2013-01-06 17:02:08 +00:00
Joel de Guzman
ba8a13f60e Additional msvc warning removal
[SVN r82347]
2013-01-04 01:39:50 +00:00
Hartmut Kaiser
d161baf9c6 Spirit: Merging from trunk
[SVN r82080]
2012-12-18 13:58:38 +00:00
Hartmut Kaiser
597226c96d Spirit: applying patch fixing qi::stream EOF behavior
[SVN r82078]
2012-12-18 13:51:21 +00:00
Hartmut Kaiser
14a3ecbd1b Spirit: made it finally compile again.
[SVN r81938]
2012-12-14 12:19:53 +00:00
Hartmut Kaiser
82793e0a2f Spirit: cleaning up visitor
[SVN r81929]
2012-12-14 01:46:48 +00:00
Hartmut Kaiser
30a5922b0b Spirit: Adding proper return type handling to variant visitor
[SVN r81928]
2012-12-14 01:45:34 +00:00
Hartmut Kaiser
ca3846a070 Spirit: more merging from trunk
[SVN r81927]
2012-12-14 01:38:53 +00:00
Hartmut Kaiser
61f33e28c0 Spirit: adding missing 'const'
[SVN r81926]
2012-12-14 01:36:53 +00:00
Hartmut Kaiser
67bc27c8b8 Spirit: merging from trunk
[SVN r81918]
2012-12-13 22:06:53 +00:00
Hartmut Kaiser
f032c41553 Spirit: applying final patch for variant/sequence issue in Karma
[SVN r81917]
2012-12-13 22:02:42 +00:00
Hartmut Kaiser
8643b8ede0 Spirit: another attempt to fix the sequence compilation problem in Karma when variants are involved
[SVN r81910]
2012-12-13 19:22:53 +00:00
Hartmut Kaiser
26c38cb6fa Spirit: Fixing problem in result size computation for Karma sequence involving variants
[SVN r81896]
2012-12-13 13:34:54 +00:00
Hartmut Kaiser
a597dccfc7 Spirit: merging from trunk
[SVN r81797]
2012-12-08 16:31:17 +00:00
Hartmut Kaiser
96bcbe9149 Spirit: More inspect fixes
[SVN r81795]
2012-12-08 15:58:14 +00:00
Hartmut Kaiser
3ba8b8b8ed Spirit: applying Karma unicode patch
[SVN r81746]
2012-12-06 17:41:53 +00:00
Joel de Guzman
32eccfa2ab Renamed nil to nil_
[SVN r81721]
2012-12-05 13:43:00 +00:00
Hartmut Kaiser
7ba00397d2 Spirit: adding karma::output_iterator::base() to access underlying output iterator
[SVN r81454]
2012-11-21 14:29:35 +00:00
Marshall Clow
b641d1f212 Remove usage of deprecated macros
[SVN r81451]
2012-11-21 02:54:04 +00:00
Hartmut Kaiser
7aa7ebd3c1 Spirit: fixed #7635: Karma real generators output "inf" when attribute is integral 0
[SVN r81160]
2012-11-03 15:16:56 +00:00
Hartmut Kaiser
dfc9377eff Spirit: fixing some eol inconsistencies.
[SVN r81157]
2012-11-03 14:21:02 +00:00
Hartmut Kaiser
4fc9b6950f Spirit: Applied patch provided by Agustín K-ballo Bergé - thanks!
[SVN r81156]
2012-11-03 14:19:54 +00:00
Joel de Guzman
d6019ede00 #7431 Warning fixes in spirit
[SVN r80815]
2012-10-02 03:11:48 +00:00
Hartmut Kaiser
5015803741 Merging from trunk
[SVN r80282]
2012-08-28 14:53:40 +00:00
Hartmut Kaiser
e7c747b925 Fix #4372: spirit::info violates STL container requirements
[SVN r80121]
2012-08-21 20:04:06 +00:00
Joel de Guzman
5834ea40d5 Fixed char->char_type
[SVN r79764]
2012-07-27 01:38:17 +00:00
Joel de Guzman
969698a8ce Big fix allowing "script" greater that 63
[SVN r78524]
2012-05-21 01:17:33 +00:00
Joel de Guzman
7884de5ae6 patches from teejay
[SVN r78313]
2012-05-03 00:50:19 +00:00
Joel de Guzman
88d8410203 Reapplying hkaiser's fix
[SVN r78206]
2012-04-26 09:23:54 +00:00
Joel de Guzman
8e4a06ab66 Merge from trunk
[SVN r78177]
2012-04-24 02:05:47 +00:00
Hartmut Kaiser
f5ec29cfd5 Merging from trunk
Fixed #6179: spirit fatal error: 'boost/endian/integers.hpp' file not found

[SVN r78157]
2012-04-23 12:11:17 +00:00
Hartmut Kaiser
4ab6efc226 Solving the darn endian problem in Spirit once and for all. I should have done this a long time ago.
[SVN r78156]
2012-04-23 12:08:56 +00:00
Joel de Guzman
41f73d0ca4 fix assign_to_attribute_from_iterators where Attribute is a container of iterator_range
[SVN r77713]
2012-04-02 12:22:30 +00:00
Joel de Guzman
e94213cc2d Test downstream merge
[SVN r77711]
2012-04-02 04:41:54 +00:00
Joel de Guzman
065a76b8b5 test upstream merge
[SVN r77710]
2012-04-02 04:40:09 +00:00
Joel de Guzman
003c6950de Bumped version number to 2.53
[SVN r77512]
2012-03-24 08:32:11 +00:00
Joel de Guzman
5a4c19445e fix for ticket #6714
[SVN r77434]
2012-03-20 15:14:44 +00:00
Joel de Guzman
bedb4b7e30 teajay's keyword patches
[SVN r77429]
2012-03-20 10:20:16 +00:00
Jürgen Hunold
e718d52cf1 Fix: still no Boost.Endian available
[SVN r77400]
2012-03-19 09:57:26 +00:00
Joel de Guzman
46d5263eb6 Removing deprecated headers
[SVN r77230]
2012-03-05 14:33:28 +00:00
Joel de Guzman
42bd7448ed Support for BOOST_SPIRIT_AUTO and qi::copy.
[SVN r76960]
2012-02-10 01:58:02 +00:00
Joel de Guzman
bec81f8ead Support for BOOST_SPIRIT_AUTO and qi::copy.
[SVN r76930]
2012-02-07 06:17:47 +00:00
Joel de Guzman
0bf8a800ab Support for BOOST_SPIRIT_AUTO and qi::copy.
[SVN r76928]
2012-02-07 06:12:49 +00:00
Hartmut Kaiser
ef42d4535d Spirit: Fixed a problem in Karma when a variant holding a container was used as a generator inside a sequence.
[SVN r76462]
2012-01-13 18:46:11 +00:00
Hartmut Kaiser
678feb8425 Spirit: merging from trunk
[SVN r76386]
2012-01-09 14:36:46 +00:00
Hartmut Kaiser
57046fdbbf Spirit: fixed #6368: [multi_pass] clear_queue isn't forwarded to the storage policy
[SVN r76384]
2012-01-09 13:53:14 +00:00
Hartmut Kaiser
997501b084 Spirit: fixed karma::subrule
[SVN r76382]
2012-01-09 13:51:18 +00:00
Hartmut Kaiser
4cb423d7db Spirit: Fixing problems in karma::center[] directive
[SVN r76381]
2012-01-09 13:47:25 +00:00
Hartmut Kaiser
a2866ebf4e Spirit: changing c-style cast to static_cast
[SVN r76289]
2012-01-03 01:14:27 +00:00
Hartmut Kaiser
ed424f5135 Spirit: fixing signed/unsigned mismatch warning
[SVN r76285]
2012-01-03 00:33:33 +00:00
Hartmut Kaiser
32c7a15bd5 Spirit: fixing copy/paste error
[SVN r76284]
2012-01-03 00:30:23 +00:00
Hartmut Kaiser
54a5dba46d Spirit: improving error reporting from lexer tokens
[SVN r76248]
2011-12-31 19:39:42 +00:00
Hartmut Kaiser
7d7e4b55bb Spirit: added a missing typename
[SVN r76194]
2011-12-26 18:59:50 +00:00
Hartmut Kaiser
4e636cb8ef Spirit: fixed spelling (fixed #6003: occured is spelled occurred)
[SVN r76152]
2011-12-25 18:03:21 +00:00
Hartmut Kaiser
0d39ce2fcf Spirit: disambiguate cref.
[SVN r76046]
2011-12-18 17:41:52 +00:00
Hartmut Kaiser
7261177938 Spirit: fixed #6253: lex::lexertl::generate_static_dfa compiler errors if lexer has wchar_t as underlying stream type
[SVN r75910]
2011-12-12 00:48:40 +00:00
Hartmut Kaiser
30805fa7a7 Spirit: merging endian fix from trunk
[SVN r75711]
2011-11-28 13:00:11 +00:00
Hartmut Kaiser
63b6417cee Spirit: fixing check for Boost version for endian, when will we finally get that library?
[SVN r75710]
2011-11-28 12:31:00 +00:00
Joel de Guzman
33028c63d0 + more get overloads
+ returning references instead of values

[SVN r75484]
2011-11-14 10:31:35 +00:00
Hartmut Kaiser
db068a6406 Spirit: adding get<> overload to extended_variant
[SVN r75469]
2011-11-12 22:49:34 +00:00
Joel de Guzman
b39d8c5d24 C++11 patches by Michel Morin
[SVN r75395]
2011-11-07 22:57:31 +00:00
Hartmut Kaiser
8cfd595355 Spirit: applying Vitaly Budovski's patch adding binary floating point parsers and generators
[SVN r75105]
2011-10-24 15:05:44 +00:00
Hartmut Kaiser
3423c9e478 Spirit: merging bugfix from trunk (caused by changes in proto)
[SVN r74915]
2011-10-11 11:30:19 +00:00
Joel de Guzman
aaba1378fe Added rvalue support for symbols %=
[SVN r74905]
2011-10-11 00:23:34 +00:00
Hartmut Kaiser
c3ef87d7d7 Spirit: merging to release
[SVN r74894]
2011-10-10 13:28:33 +00:00
Hartmut Kaiser
e6ae5de666 Spirit: adding rvalue reference overload for lexer::operator+=(), fixes regressions caused by recent proto changes
[SVN r74892]
2011-10-10 12:10:05 +00:00
Joel de Guzman
0e0cacf03c Added rvalue support for rule %=
[SVN r74878]
2011-10-10 07:38:59 +00:00
Joel de Guzman
bbb4b888ab Added rvalue support for rule %=
[SVN r74877]
2011-10-10 06:47:25 +00:00
Joel de Guzman
541462c895 Added rvalue support for rule %=
[SVN r74876]
2011-10-10 06:07:35 +00:00
Hartmut Kaiser
a14bf60afd Spirit: Removing bogus static_assert
[SVN r74838]
2011-10-09 02:11:12 +00:00
Hartmut Kaiser
94b84c80eb typo fix
[SVN r74837]
2011-10-09 02:09:12 +00:00
Hartmut Kaiser
0b258c23cc Adding safe-guards
[SVN r74831]
2011-10-09 00:42:35 +00:00
Joel de Guzman
d1c2ad9e6e seek directive by TONGARI
[SVN r74796]
2011-10-08 11:31:20 +00:00
Hartmut Kaiser
c4d7e700f6 Spirit: Merging from trunk
[SVN r74359]
2011-09-12 16:53:22 +00:00
Joel de Guzman
6d8fc33f34 Fix Ticket #5867
[SVN r74323]
2011-09-08 23:45:47 +00:00
Joel de Guzman
2d6c528fed Fix Ticket #5867
[SVN r74299]
2011-09-08 05:45:28 +00:00
Joel de Guzman
e43fda5e01 Reverting patch. The tests are broken with the patch!
[SVN r74293]
2011-09-07 05:08:20 +00:00
Joel de Guzman
5f741d39c1 Applied patch (ticket 5716)
https://svn.boost.org/trac/boost/attachment/ticket/5716/spirit_wide_what.patch

[SVN r74292]
2011-09-07 04:02:33 +00:00
Joel de Guzman
0f2b3c49ce Fixed problem with handling BOOST_FUSION_ADAPT_ADT
[SVN r74291]
2011-09-07 03:54:48 +00:00
Hartmut Kaiser
b5a81660c3 Spirit: copyright fixes
[SVN r74246]
2011-09-05 22:32:29 +00:00
Hartmut Kaiser
0d75b4307a Spirit: preparing for the now to be accepted Boost.Endian library
[SVN r74245]
2011-09-05 22:31:02 +00:00
Hartmut Kaiser
c9f6844b30 Spirit: Merging from trunk
[SVN r74126]
2011-08-29 13:44:45 +00:00
Hartmut Kaiser
f2b627ed99 Spirit: Fixing actions for embedded parsers which synthesize attributes
[SVN r74054]
2011-08-24 22:23:51 +00:00
Hartmut Kaiser
5da2335cba Spirit: adding attribute collapsing for optional<optional<>>
[SVN r74053]
2011-08-24 22:22:04 +00:00
Hartmut Kaiser
9263603154 Spirit: fixing compilation error caused by recent Fusion modifications
[SVN r74038]
2011-08-24 02:49:27 +00:00
Hartmut Kaiser
796080d08f Spirit: fixing compilation error
[SVN r74037]
2011-08-24 00:39:45 +00:00
Joel de Guzman
f93e41547c Fix for Trac ticket #5807
[SVN r74034]
2011-08-23 23:45:44 +00:00
Hartmut Kaiser
f4e6257019 Spirit: make sure istream_policy checks for eof at construction time
[SVN r73651]
2011-08-11 12:03:09 +00:00
Joel de Guzman
5addad34db support all const/non-const variations for visitor and variant
[SVN r73587]
2011-08-07 00:36:47 +00:00
Joel de Guzman
e2e015b170 allow const and non-const visitation
[SVN r73586]
2011-08-07 00:29:42 +00:00
Joel de Guzman
e1bbf4c1ae follow variant API for visitation
[SVN r73585]
2011-08-07 00:20:35 +00:00
Joel de Guzman
1e3ba86d2b fix: apply_visitor must return a value
[SVN r73584]
2011-08-07 00:07:33 +00:00
Joel de Guzman
6e75ad85bf Moved extended_variant into its own file(s)
[SVN r73558]
2011-08-06 01:05:27 +00:00
Joel de Guzman
b4ca104a15 Renamed adapted_variant to extended_variant
[SVN r73556]
2011-08-06 00:55:25 +00:00
Hartmut Kaiser
9a70126d8c Spirit: added missing include's
[SVN r73550]
2011-08-05 15:45:49 +00:00
Hartmut Kaiser
582694c7a9 Spirit: fixing signed/unsigned comparison warning
[SVN r73526]
2011-08-04 13:06:56 +00:00
Hartmut Kaiser
91f8ef32c9 Spirit: disambiguate boost::get in lexer code, add more specializations required for utree integration
[SVN r73496]
2011-08-02 18:09:29 +00:00
Joel de Guzman
90731fa6fa Added support for extended variants
[SVN r73457]
2011-07-31 01:10:11 +00:00
Hartmut Kaiser
ee70ad4946 Spirit: Fixed problem in lexer when enabling parser debugging
[SVN r73451]
2011-07-30 19:30:54 +00:00
Hartmut Kaiser
e17bb4ed1e Spirit: fixed #5701: lexertl token_value_type returns const unused for nonconst ref
[SVN r73122]
2011-07-15 17:53:15 +00:00
Hartmut Kaiser
d15911e097 Merging: Fixing endian problem (again, sigh!) Will the endian library be ever part of Boost?
[SVN r73090]
2011-07-13 23:59:23 +00:00
Hartmut Kaiser
0438fd3506 Fixing endian problem (again, sigh!) Will the endian library be ever part of Boost?
[SVN r73089]
2011-07-13 23:57:01 +00:00
Joel de Guzman
868d123883 patch from Tongari to compile with vc++ 2008.
[SVN r73088]
2011-07-13 23:45:16 +00:00
Hartmut Kaiser
47768a3c0a Merged revision(s) 72586, 72588 from trunk:
Spirit: fixing Karma compilation errors with gcc
........
Spirit: refinement of latest bug fix
........

authorized by rene

[SVN r72589]
2011-06-14 17:10:02 +00:00
Hartmut Kaiser
98f302133d Spirit: refinement of latest bug fix
[SVN r72588]
2011-06-14 16:31:35 +00:00
Hartmut Kaiser
4183d79911 Spirit: fixing Karma compilation errors with gcc
[SVN r72586]
2011-06-14 15:33:28 +00:00
Hartmut Kaiser
6a766d4ffe Spirit: merging lexer fixes from trunk
[SVN r72422]
2011-06-05 18:28:43 +00:00
Hartmut Kaiser
f58f5ea557 Spirit: adding conjure_lexer example, fixing a couple of lexer bugs
[SVN r72410]
2011-06-05 15:10:11 +00:00
Hartmut Kaiser
bdf2e5e4ed Spirit: merging from trunk
[SVN r72367]
2011-06-03 01:16:29 +00:00
Bryce Adelstein-Lelbach
f67ff3198c Fix streaming operator.
[SVN r72343]
2011-06-02 12:26:49 +00:00
Bryce Adelstein-Lelbach
251da99450 Make utree's eval method dispatch properly for utree reference types, make utree's
boolean constructor explicit, fix constness problem with utree functions.



[SVN r72317]
2011-06-01 04:49:47 +00:00
Hartmut Kaiser
fed3878da6 Spirit: merging fixed inlining problem from trunk
[SVN r72262]
2011-05-29 15:38:00 +00:00
Bryce Adelstein-Lelbach
8f25f55af9 Inline utree operator= to avoid multiple definition errors.
[SVN r72257]
2011-05-29 04:54:57 +00:00
Hartmut Kaiser
73803fc2f7 Spirit: merging from trunk
[SVN r72253]
2011-05-28 23:21:55 +00:00
Bryce Adelstein-Lelbach
b0ae62bf0b Fix utree/spirit integration for binary strings.
[SVN r72231]
2011-05-27 20:34:38 +00:00
Bryce Adelstein-Lelbach
ecb622ef7d Use io state savers in utree streaming operations to avoid polluting output
streams.



[SVN r72230]
2011-05-27 20:33:57 +00:00
Hartmut Kaiser
18f556a4fe Spirit: merging from trunk
[SVN r72202]
2011-05-27 02:04:28 +00:00
Hartmut Kaiser
d43607f8fe Spirit: fixed #5566: Spirit.Lex converting a token to its value in a lexer semantic action fails
[SVN r72201]
2011-05-27 02:02:20 +00:00
Hartmut Kaiser
39dc7a7606 Spirit: merging from trunk
[SVN r72198]
2011-05-26 22:26:09 +00:00
Bryce Adelstein-Lelbach
fcabd6e2f9 Emit more accurate exceptions when back() or front() is called on an empty utree
list.



[SVN r72188]
2011-05-26 18:16:38 +00:00
Bryce Adelstein-Lelbach
dce5d0384d Fix issue with utree tags on 32bit.
[SVN r72117]
2011-05-23 02:30:53 +00:00
Hartmut Kaiser
4f823caaad Spirit: Fixing mistyped pp constant
[SVN r72115]
2011-05-23 02:01:57 +00:00
Hartmut Kaiser
3ce4e53557 Spirit: added position_token type
[SVN r72114]
2011-05-23 01:58:19 +00:00
Hartmut Kaiser
b7d8b9b1d8 Spirit: fixing broken #includes
[SVN r72112]
2011-05-23 01:56:08 +00:00
Hartmut Kaiser
d842d60abb Spirit: tweaks to attribute handling
[SVN r72111]
2011-05-23 01:55:32 +00:00
Hartmut Kaiser
40558bfa92 Spirit: fixing karma::lazy
[SVN r72110]
2011-05-23 01:54:48 +00:00
Hartmut Kaiser
2e7c6c2aaf Spirit: added missing #include
[SVN r72109]
2011-05-22 23:18:59 +00:00
Bryce Adelstein-Lelbach
4cdaf3724c Add missing include.
[SVN r72069]
2011-05-22 07:48:37 +00:00
Bryce Adelstein-Lelbach
a2c1425ea6 remove unnecessary includes.
[SVN r72068]
2011-05-21 23:59:56 +00:00
Bryce Adelstein-Lelbach
bdc6857561 Change utree functions to take a utree as a parameter, instead of a scope.
Remove scope from Spirit, as it is application specific. Change utree's function
API to take function_base references and pointers by ctor/assignment operator,
instead of just stored_function<> instances, allowing users to derive classes
from function_base and use them with utree. Add an operator() to utree that 
aliases utree.eval(), so that utree can be used as a function object. Allow both
a utree& and a utree const& to be passed as a parameter to a utree function object.



[SVN r72067]
2011-05-21 23:58:19 +00:00
Joel de Guzman
d925fcd59e refactoring tweaks
[SVN r72041]
2011-05-19 02:39:14 +00:00
Joel de Guzman
258775ab02 Fixed bug where lazy_parser and lazy_directive are not respecting the auto rule.
[SVN r72040]
2011-05-19 02:01:57 +00:00
Bryce Adelstein-Lelbach
8306bcb237 Allow tags for strings.
[SVN r71999]
2011-05-16 20:27:26 +00:00
Hartmut Kaiser
e52e653fc7 Spirit, Phoenix: mergine from trunk for BoostCon
[SVN r71925]
2011-05-13 19:14:18 +00:00
Hartmut Kaiser
123c031726 Spirit:: disambiguating result_of
[SVN r71920]
2011-05-13 16:47:32 +00:00
Hartmut Kaiser
13c7383f14 Spirit:: disambiguating result_of
[SVN r71919]
2011-05-13 16:46:43 +00:00
Hartmut Kaiser
d3c5142d17 Spirit: merging fix from trunk
[SVN r71670]
2011-05-02 14:50:05 +00:00
Hartmut Kaiser
8f2cfb5f6a Spirit: adding missing typename
[SVN r71662]
2011-05-02 11:08:53 +00:00
Hartmut Kaiser
ce5138631f Spirit: merging from trunk
[SVN r71643]
2011-05-01 02:00:27 +00:00
Hartmut Kaiser
102a10c40f Spirit: fixing an issue in Qi with adapted ADTs
[SVN r71630]
2011-04-30 17:33:35 +00:00
Hartmut Kaiser
93d03ae8ad Spirit: fixing regression tests failing for gcc
[SVN r71627]
2011-04-30 15:44:36 +00:00
Thomas Heller
8cf21d42cd [spirit] fixed issue with phoenix V3 and no predefined terminals
[SVN r71624]
2011-04-30 14:41:51 +00:00
Hartmut Kaiser
d0a00913d3 Spirit: merging from trunk
[SVN r71576]
2011-04-28 22:43:33 +00:00
Hartmut Kaiser
a6dbed96cb Spirit: another fix for qi numerics
[SVN r71555]
2011-04-28 02:44:20 +00:00
Hartmut Kaiser
fe0e87d12c Spirit: fixing Karma for BOOST_SPIRIT_NO_PREDEFINED_TERMINALS
[SVN r71503]
2011-04-26 12:54:45 +00:00
Joel de Guzman
8e3ef5fe7e Minor tweaks
[SVN r71399]
2011-04-21 05:13:30 +00:00
Joel de Guzman
871ad02c8c Better static error handling for rules
[SVN r71377]
2011-04-19 05:11:04 +00:00
Hartmut Kaiser
60d8901c66 Spirit: merging fixes from trunk
[SVN r71375]
2011-04-19 01:31:14 +00:00
Hartmut Kaiser
e1ceb64f5a Spirit: more karma adapted ADT problems fixed, full radix range for karma::uint_generators
[SVN r71372]
2011-04-18 17:08:57 +00:00
Hartmut Kaiser
c43b1a6458 Spirit: reduced he amount of preprocessing done in the new uint radix code
[SVN r71367]
2011-04-17 23:14:01 +00:00
Hartmut Kaiser
aa666a9f37 Spirit: merging fixes from trunk
[SVN r71355]
2011-04-17 16:46:20 +00:00
Hartmut Kaiser
962b5862d4 Spirit: fixing another problem with adapted ADTs related to numerics
[SVN r71353]
2011-04-17 15:46:28 +00:00
Hartmut Kaiser
260e21cf53 Spirit: applying patch to allow for arbitrary radicies while parsing unsigned numbers
[SVN r71347]
2011-04-17 02:55:36 +00:00
Hartmut Kaiser
c32b8b374b Spirit: merging from trunk
[SVN r71306]
2011-04-16 02:16:56 +00:00
Hartmut Kaiser
575df4e144 Spirit: fixing more problems with using adapted ADTs in Kamra
[SVN r71305]
2011-04-16 02:10:11 +00:00
Bryce Adelstein-Lelbach
17292f54b3 Implement more expressive utree diagnostics.
[SVN r71292]
2011-04-15 16:27:42 +00:00
Hartmut Kaiser
3a3be3f54d Spirit: merging minor fix from trunk
[SVN r71272]
2011-04-15 13:47:17 +00:00
Hartmut Kaiser
9a06ac3bc5 Spirit: changed reference to std::wstring into std::basic_string<wchar_t>
[SVN r71270]
2011-04-15 13:12:14 +00:00
Bryce Adelstein-Lelbach
a23a191569 Remove utree's operator[], add spirit::get().
[SVN r71254]
2011-04-14 17:36:25 +00:00
Hartmut Kaiser
c1d9fec4e6 Spirit: merging Phoenix V3 support from trunk
[SVN r71243]
2011-04-14 14:12:45 +00:00
Hartmut Kaiser
fd86ee4cb6 Spirit: refactoring some of the numeric helpers into customization points
[SVN r71242]
2011-04-14 13:05:18 +00:00
Joel de Guzman
002fe49192 fixups
[SVN r71235]
2011-04-14 00:39:58 +00:00
Joel de Guzman
b3a271fc91 Arbitrary radix feature for uints
[SVN r71234]
2011-04-14 00:34:22 +00:00
Hartmut Kaiser
602dbc6e34 Spirit: adding missing numeric CP specializations for adapted ADTs
[SVN r71230]
2011-04-13 21:53:36 +00:00
Thomas Heller
b3678abf1d [phoenix]
- Added documention for the function adaption macros
    - Added the What's new section
    - Fixed some bugs
    - Added basic support for phx2 result type deduction, not in production yet

[spirit]
    - Made necessary changes that reflect latest phoenix internal changes



[SVN r71227]
2011-04-13 19:09:59 +00:00
Hartmut Kaiser
ee1c4791b6 Spirit: fixing the unescaped_string example
[SVN r71202]
2011-04-12 14:52:14 +00:00
Hartmut Kaiser
4a7abcf290 Spirit: adding Phoenix V3 limits.hpp to allow for flawless definition of all required LIMITS
[SVN r71192]
2011-04-11 18:49:21 +00:00
Joel de Guzman
97baf5bbe2 Fixes http://boost.2283326.n4.nabble.com/Grammar-stopped-compiling-on-more-recent-spirit-version-td3432652.html
[SVN r71099]
2011-04-08 00:21:12 +00:00
Hartmut Kaiser
af164e831c Spirit: merging from trunk (71077,71080)
[SVN r71082]
2011-04-07 14:51:35 +00:00
Hartmut Kaiser
155f993c74 Spirit: fixing assertions in error_handler when used with multi_pass
[SVN r71077]
2011-04-07 12:19:28 +00:00
Thomas Heller
2a0f38512f [spirit]
Fixed MSVC non template custom terminal



[SVN r71030]
2011-04-06 12:36:16 +00:00
Hartmut Kaiser
ffeeda55c7 Spirit: fixed yet another attribute handling problem
[SVN r70843]
2011-04-02 02:55:22 +00:00
Bryce Adelstein-Lelbach
fb75e1cb45 Fixing issue in utree.tag().
[SVN r70840]
2011-04-01 23:16:37 +00:00
Hartmut Kaiser
d6690e7ca6 Spirit: merging from trunk (70820)
[SVN r70821]
2011-04-01 16:06:16 +00:00
Hartmut Kaiser
e7e5e61d56 Spirit: fixing lexer example6.cpp
[SVN r70820]
2011-04-01 16:02:27 +00:00
Hartmut Kaiser
7605dc155a Spirit: adding workaround for gcc 4.2.1
[SVN r70814]
2011-04-01 11:43:37 +00:00
Hartmut Kaiser
6539177b07 Spirit: merging from trunk (70801)
[SVN r70803]
2011-04-01 00:29:11 +00:00
Hartmut Kaiser
f27c584d15 Spirit: fixing an issue with alternatives inside container components
[SVN r70801]
2011-04-01 00:14:50 +00:00
Hartmut Kaiser
2e2af45476 Spirit: removing superfluous typename
[SVN r70747]
2011-03-30 11:13:50 +00:00
Hartmut Kaiser
ff02f5751c Spirit: more fixes for Phoenix V3
[SVN r70696]
2011-03-29 14:25:46 +00:00
Hartmut Kaiser
2afde11ef5 Spirit: more adjustments for Phoenix V3
[SVN r70687]
2011-03-29 00:11:41 +00:00
Hartmut Kaiser
bfa2234113 Spirit: merging from trunk (70605, 70638, 70655)
[SVN r70657]
2011-03-28 02:47:59 +00:00
Hartmut Kaiser
400a764d61 Spirit: patch allowing to use Spirit with Phoenix V3
[SVN r70656]
2011-03-28 02:37:31 +00:00
Hartmut Kaiser
cd74cfba7e Spirit: fixing a container attribute handling problem
[SVN r70655]
2011-03-28 02:10:42 +00:00
Hartmut Kaiser
c3cedb02c8 Spirit: merging fixed version number from trunk
[SVN r70632]
2011-03-27 14:10:55 +00:00
Hartmut Kaiser
e4e9dcd72f Spirit: fixing version number
[SVN r70629]
2011-03-27 13:52:10 +00:00
Hartmut Kaiser
e342e00d02 Spirit: applied Thomas Heller's patch fixing a bunch of warnings
[SVN r70605]
2011-03-26 23:48:38 +00:00
Hartmut Kaiser
f886839849 Spirit: bumping version number for release
[SVN r70580]
2011-03-26 17:23:02 +00:00
Hartmut Kaiser
26b32e446c Spirit: bumping version number for release
[SVN r70579]
2011-03-26 17:20:17 +00:00
Hartmut Kaiser
bbae951d12 Spirit: merging from trunk (68457,68496,68522,68865,69218-69219,69294,69476,69546,70042-70043,70049-70050
68320,68374,68377,68386,68449,68461,68485,68487,68489,68491,68494-68495
68519-68520,68523,68536,68538-68539,68548-68549,68576,68645-68646,68657,68676
68687,68690,68707,68725,68744-68746,68852-68853,68861,68870,68904,68906-68908
68938,68989,69020,69022-69024,69091-69092,69103-69104,69114,69136,69138,69193
69202,69204,69233,69292-69293,69295,69297-69298,69323,69337,69378-69380,69405,69429,69431-69433,69444,69450
69495-69498,69501,69503,69505,69527,69599,69618,69623,69670-69671,69673,69675,69772-69774,69780
69811,69813-69814,69833,69851,70045,70211-70216,70224-70225,70483,70549-70550
Fusion: 69113,69118,69137,69583,69589,70008-70009)


[SVN r70574]
2011-03-26 17:09:12 +00:00
Hartmut Kaiser
b64ccad626 Spirit: fixing stream parser
[SVN r70570]
2011-03-26 16:58:48 +00:00
Hartmut Kaiser
ea39044fe9 Spirit: fixing iterator handling in stream parser
[SVN r70549]
2011-03-26 00:55:03 +00:00
Hartmut Kaiser
e3568a8528 Spirit: fixing warnings, etc.
[SVN r70483]
2011-03-23 16:51:58 +00:00
Hartmut Kaiser
1979918b83 Spirit: Merging from trunk
[SVN r70307]
2011-03-21 11:15:14 +00:00
Hartmut Kaiser
277947fd05 Spirit: boost::endian is still not in SVN
[SVN r70306]
2011-03-21 11:08:18 +00:00
Hartmut Kaiser
33ccba6f3a Spirit: comment fixes, minor adjustments
[SVN r70225]
2011-03-20 18:25:44 +00:00
Hartmut Kaiser
0ec6a89ec5 Spirit: new container attribute handling for Karma, aligned with latest changes to Qi, minor tweaks to attribute handling in Qi, added comments, etc.
[SVN r70224]
2011-03-20 18:23:49 +00:00
Hartmut Kaiser
d524560e06 Spirit: fixed utree handling for variant attributes
[SVN r70216]
2011-03-20 02:26:58 +00:00
Hartmut Kaiser
017903d6cf Spirit: fixing bogus constructor call to char_token_def
[SVN r70215]
2011-03-20 02:18:24 +00:00
Hartmut Kaiser
7fd0c31ffc Spirit: adding a workaround for strange behavior of fusion::vector, which is default constructible from any single type as long as that is convertible to the first type in the vector.
[SVN r70214]
2011-03-20 02:06:25 +00:00
Joel de Guzman
6407de20c0 patch from teejay
[SVN r70213]
2011-03-20 00:02:11 +00:00
Hartmut Kaiser
1cd6547388 Spirit: more work on Qi container attributes
[SVN r70211]
2011-03-19 23:42:09 +00:00
Hartmut Kaiser
5c3ab7c5a1 Spirit: fixing problem in sequence attribute handling if symbols components are involved
[SVN r70042]
2011-03-17 00:06:17 +00:00
Hartmut Kaiser
ac34961c36 Spirit: fixing gcc compilation problem
[SVN r69851]
2011-03-11 16:57:10 +00:00
Hartmut Kaiser
8483d78f97 Spirit: adding possibility to specify token id with lex::char_ and lex::string
[SVN r69833]
2011-03-10 22:29:40 +00:00
Joel de Guzman
9cb815d51b fixes bug_march_10_2011_8_35_am in alternative.cpp test
[SVN r69811]
2011-03-10 00:39:17 +00:00
Hartmut Kaiser
95e1432c0c Spirit: fixing attribute problem in new assign_value_to_container CP
[SVN r69772]
2011-03-09 14:34:51 +00:00
Joel de Guzman
5ef8b7cd7a keywords missing files
[SVN r69670]
2011-03-08 02:15:06 +00:00
Hartmut Kaiser
5b2323bc61 Fixed #5247: mmap_file_iterator Copies String Argument
[SVN r69546]
2011-03-04 13:03:30 +00:00
Hartmut Kaiser
418fd94ddb Spirit: fixed compilation issue in attribute handling code
[SVN r69527]
2011-03-03 18:49:26 +00:00
Joel de Guzman
be61a0c125 teejay's keyword directive
[SVN r69505]
2011-03-03 00:40:18 +00:00
Joel de Guzman
c5ea700755 Added DEBUG_NODES and sucess_handler.
[SVN r69501]
2011-03-03 00:26:00 +00:00
Hartmut Kaiser
2f949835d8 Spirit: reverting accidental commit
[SVN r69497]
2011-03-02 23:41:45 +00:00
Hartmut Kaiser
3f791745e3 Spirit: added handling of variants to the new attribute handling
[SVN r69496]
2011-03-02 23:38:30 +00:00
Hartmut Kaiser
89b05ff46d Spirit: added handling of variants to the new attribute handling
[SVN r69495]
2011-03-02 23:37:52 +00:00
Hartmut Kaiser
aeb773ecf4 Fixed #5246: mmap_file_iterator Fails to Initialize Correctly
[SVN r69476]
2011-03-02 12:29:17 +00:00
Hartmut Kaiser
a8e9de3326 Spirit: decorating function calls for disambiguation
[SVN r69431]
2011-03-01 03:30:14 +00:00
Hartmut Kaiser
7c324eef45 Spirit: fixing container attribute handling of sequences and container parser components
[SVN r69405]
2011-02-28 22:43:13 +00:00
Hartmut Kaiser
c5599510e9 Spirit: lexer tweaks
[SVN r69294]
2011-02-26 04:12:08 +00:00
Hartmut Kaiser
d789cceec7 Spirit: added context to top level APIs
[SVN r69292]
2011-02-26 04:05:11 +00:00
Hartmut Kaiser
a725d48279 Spirit: Fixing obscure bug in qi::attr()
[SVN r69218]
2011-02-23 20:08:35 +00:00
Joel de Guzman
95df416cb4 tweaks for qi and karma: option to have no predefined terminals
[SVN r69193]
2011-02-23 00:39:39 +00:00
Joel de Guzman
db8872d1ca added option to have no predefined terminals _1..._N _j, _val, etc.
[SVN r69136]
2011-02-22 01:28:11 +00:00
Joel de Guzman
93b6b954d6 reverting 69103
[SVN r69114]
2011-02-21 01:31:56 +00:00
Hartmut Kaiser
0b02b87f45 Spirit: Fixed a warning about class/struct mismatch
[SVN r69104]
2011-02-20 20:46:56 +00:00
Hartmut Kaiser
c3bd4db100 Spirit: removing reference to not existing header file (this broke all of Spirit)
[SVN r69103]
2011-02-20 20:37:46 +00:00
Hartmut Kaiser
1252a08c2b Spirit: fixed karma::repeat to use the new attribute propagation scheme as well
[SVN r69091]
2011-02-20 19:26:24 +00:00
Joel de Guzman
95d6f1fae0 Tweaks. Allow attribute compatibility on alternatives
[SVN r69022]
2011-02-19 09:14:26 +00:00
Joel de Guzman
3d0e657f08 Allow attribute compatibility on alternatives
[SVN r69020]
2011-02-19 02:13:03 +00:00
Joel de Guzman
6ec7f9bb32 Allow attribute compatibility with semantic actions
[SVN r68908]
2011-02-15 03:35:41 +00:00
Joel de Guzman
3476418d4c Allow attribute compatibility with semantic actions
[SVN r68907]
2011-02-15 03:20:29 +00:00
Hartmut Kaiser
e9f97ac9ac Spirit: added comptibility macros for older code still using BOOST_SPIRIT_TERMINAL[_EX]
[SVN r68870]
2011-02-14 19:25:09 +00:00
Hartmut Kaiser
7e8cd823df Spirit: disambiguated boost::optional
[SVN r68865]
2011-02-14 16:54:05 +00:00
Hartmut Kaiser
7c93491cbb Spirit: Added utree traits forwarding header
[SVN r68861]
2011-02-14 13:22:56 +00:00
Hartmut Kaiser
0d57ee6906 Spirit: extending usage of BOOST_SPIRIT_NO_PREDEFINED_TERMINALS to all Karma components
[SVN r68853]
2011-02-13 20:47:46 +00:00
Hartmut Kaiser
0dc2bc3fc6 Spirit: fixing a kleene/sequence attribute issue
[SVN r68852]
2011-02-13 20:43:52 +00:00
Joel de Guzman
fa2c1aad8e added option to have no predefined terminals
[SVN r68745]
2011-02-09 10:47:49 +00:00
Hartmut Kaiser
779975c25e Spirit: added missing CP specializations
[SVN r68725]
2011-02-08 17:32:06 +00:00
Hartmut Kaiser
e77e112383 Spirit: fixed spelling in comments
[SVN r68690]
2011-02-07 13:41:52 +00:00
Hartmut Kaiser
09bb853789 Spirit: fixing handling for container attributes in parser sequences
[SVN r68687]
2011-02-07 01:25:22 +00:00
Hartmut Kaiser
cda73af00f Spirit: fixing basic_hold_any<> for wchar_t
[SVN r68676]
2011-02-06 18:58:59 +00:00
Hartmut Kaiser
78be66628e Spirit: adding missing file
[SVN r68657]
2011-02-05 16:24:19 +00:00
Hartmut Kaiser
3fc4ceb718 Spirit: unified handling of sequences and container components for container attributes, modified hold_any to enable streaming with wchar_t, added extract_from_container CP, fixed integral generators for const data types
[SVN r68645]
2011-02-05 03:48:49 +00:00
Bryce Adelstein-Lelbach
31ae946ef9 Fix for broken utree logical operations.
[SVN r68576]
2011-01-31 05:31:55 +00:00
Bryce Adelstein-Lelbach
dc09ed9169 Added support for storing function references in utree.
[SVN r68549]
2011-01-29 18:58:27 +00:00
Bryce Adelstein-Lelbach
2dc2b15309 Changed commented qbk markup for line_pos_iterator (regenned docs already committed).
[SVN r68548]
2011-01-29 18:57:04 +00:00
Bryce Adelstein-Lelbach
6091ac3252 Change 'invalid_type' to invalid_type in commented quickbook markup.
[SVN r68536]
2011-01-29 00:05:47 +00:00
Bryce Adelstein-Lelbach
5ef613e353 Removed unnecessary overload for the std::basic_string<> overload of
extract_c_string, added embedded char_type typedef to extract_c_string
specializations that were missing it.



[SVN r68494]
2011-01-27 22:59:14 +00:00
Bryce Adelstein-Lelbach
5a30752baa Added regression tests and fixes for Spirit.Qi numeric literal alternatives issue.
[SVN r68487]
2011-01-27 20:30:12 +00:00
Hartmut Kaiser
f3e3c8469b Spirit: adding advance parser component to Spirit repository
[SVN r68461]
2011-01-27 01:09:54 +00:00
Hartmut Kaiser
f1552bebf5 Spirit: fixing const correctness bug in Karma real_policies
[SVN r68457]
2011-01-26 18:03:45 +00:00
Hartmut Kaiser
f7ec21892b Spirit: removing utree from release branch
[SVN r68409]
2011-01-24 02:04:39 +00:00
Hartmut Kaiser
19d4107ecc Phoenix: suppressing (MSVC) warning about multiple assignment operators
[SVN r68386]
2011-01-23 16:09:44 +00:00
Joel de Guzman
a7d7f527eb Added default construction of values + assignment operator for actors.
[SVN r68377]
2011-01-23 10:49:16 +00:00
Joel de Guzman
9799b5c120 Added default construction of values + assignment operator for actors.
[SVN r68374]
2011-01-22 23:08:10 +00:00
Joel de Guzman
9a1d2e7d2c removed unnecessary private assignment operator
[SVN r68320]
2011-01-20 13:03:42 +00:00
Hartmut Kaiser
5368650377 Spirit: merging from trunk
[SVN r68198]
2011-01-17 02:29:15 +00:00
Joel de Guzman
b27d004dfd applying 'inline' patch to numerics
[SVN r68196]
2011-01-17 00:10:17 +00:00
Bryce Adelstein-Lelbach
63eea24818 Workaround regressions introduced in Karma by r68177; add asserts to karma::as
and qi::as.



[SVN r68180]
2011-01-16 06:28:23 +00:00
Bryce Adelstein-Lelbach
588f73fc34 Fixed typo.
[SVN r68171]
2011-01-15 15:03:34 +00:00
Steven Watanabe
2adcb7862b Revert [67111] (addition of boost/detail/iomanip.hpp) and all the commits that depend on it. ([68137], [68140], [68141], [68154], and [68165]).
[SVN r68168]
2011-01-15 08:11:51 +00:00
Hartmut Kaiser
984bd64e97 Spirit: added explicit name() to symbols
[SVN r68167]
2011-01-15 02:54:22 +00:00
Bryce Adelstein-Lelbach
51ab66858a Docs for karma::as, more utree docs.
[SVN r68163]
2011-01-14 23:15:23 +00:00
Bryce Adelstein-Lelbach
3d1cd1811c Replacing the use of <iomanip> with <boost/detail/iomanip.hpp> across Boost.
On Linux, GNU's libstdc++, which is the default stdlib for icc and clang,
cannot parse the <iomanip> header in version 4.5+ (which thankfully neither
compiler advises the use of yet), as it's original C++98-friendly
implementation has been replaced with a gnu++0x implementation.
<boost/detail/iomanip.hpp> is a portable implementation of <iomanip>, providing
boost::detail::setfill, boost::detail::setbase, boost::detail::setw,
boost::detail::setprecision, boost::detail::setiosflags and
boost::detail::resetiosflags. 



[SVN r68140]
2011-01-14 02:35:58 +00:00
Hartmut Kaiser
255afe7c3d Spirit: fixing merge problems
[SVN r68079]
2011-01-13 03:09:28 +00:00
Hartmut Kaiser
397741e232 Spirit: merge from trunk
[SVN r68078]
2011-01-13 02:11:19 +00:00
Hartmut Kaiser
23d885ad70 Spirit: merge from trunk, more to come
[SVN r68069]
2011-01-12 19:22:18 +00:00
Hartmut Kaiser
f9ecc500ed Spirit: merge from trunk, more to come
[SVN r68039]
2011-01-12 13:22:40 +00:00
Hartmut Kaiser
028307eb03 Spirit: started to merge from trunk, more to come
[SVN r68026]
2011-01-12 04:36:23 +00:00
Bryce Adelstein-Lelbach
6c807cea4d Updating Spirit from 2.4.1 to 2.4.2.
[SVN r68023]
2011-01-12 01:28:48 +00:00
Hartmut Kaiser
9fec54a408 Spirit: fixing regression in netlib url parser
[SVN r67963]
2011-01-11 16:18:19 +00:00
Hartmut Kaiser
f60ca006fa Spirit: removed debug print statements
[SVN r67956]
2011-01-11 13:55:02 +00:00
Bryce Adelstein-Lelbach
dd897317ca Re-added Qi numeric literals as they no longer break Qi auto-magic.
[SVN r67902]
2011-01-10 03:04:31 +00:00
Hartmut Kaiser
ca6b180931 Spirit: replaced proto::lit with spirit::lit
[SVN r67754]
2011-01-07 17:50:06 +00:00
Bryce Adelstein-Lelbach
9a4c9d7852 Fixes for utree tags (tag method won't throw for non-strings utree types, bug
fix from peper for max-size shorts).



[SVN r67744]
2011-01-07 01:09:17 +00:00
Hartmut Kaiser
8d8a3d971c Spirit: adding a missing inline
[SVN r67741]
2011-01-06 23:54:10 +00:00
Bryce Adelstein-Lelbach
e1b0e45a5d Removed Qi numeric literals (interference w/ auto magic)
[SVN r67737]
2011-01-06 23:37:52 +00:00
Hartmut Kaiser
e67c5575bd Spirit: added customization points for attribute transformation in compound operators
[SVN r67711]
2011-01-06 03:11:09 +00:00
Hartmut Kaiser
d59d39f02e Spirit: utree: including ranges and references into list handling
[SVN r67696]
2011-01-05 23:31:39 +00:00
Hartmut Kaiser
5525aadf0f Spirit: fixing utree compilation problems - doh!
[SVN r67695]
2011-01-05 23:14:09 +00:00
Hartmut Kaiser
ecfd64ec3e Spirit: utree: got rid of static class members, fixed another use case
[SVN r67692]
2011-01-05 22:34:51 +00:00
Hartmut Kaiser
c959120913 Spirit: more utree fixes
[SVN r67688]
2011-01-05 21:06:11 +00:00
Hartmut Kaiser
24600f8664 Spirit: Fixing utree problems
[SVN r67687]
2011-01-05 20:14:25 +00:00
Hartmut Kaiser
a210e96357 Spirit: fixing lexer regression introduced with new customization points
[SVN r67679]
2011-01-05 13:53:00 +00:00
Hartmut Kaiser
f7008981e0 Spirit: updating copyrights
[SVN r67618]
2011-01-03 16:46:06 +00:00
Bryce Adelstein-Lelbach
569b3111e1 Renamed the "get_c_string_impl" Spirit CP to "extract_c_string"; changed utree
tests for mixed expectation/sequence operators. Added spirit::result_of::get_begin
and spirit::result_of::get_end to string_traits.hpp.



[SVN r67606]
2011-01-03 05:24:09 +00:00
Bryce Adelstein-Lelbach
1446a3fa25 Parameterized and literal support for integer, real and boolean parsers. Fix for
lazy parser and handles_container<>. Added docs for as<T> (docs for Qi only).



[SVN r67553]
2011-01-01 22:22:56 +00:00
Joel de Guzman
3d46130fcf (corrected) Added specialization for T const in reference_type
[SVN r67514]
2010-12-31 11:51:49 +00:00
Hartmut Kaiser
b10a802843 Spirit: fixing compilation problems in Qi numerics
[SVN r67512]
2010-12-31 02:58:40 +00:00
Bryce Adelstein-Lelbach
c4ea90c69b Added support for integral literals to Qi.
[SVN r67508]
2010-12-30 21:55:39 +00:00
Joel de Guzman
54e4075df2 Added specialization for T const* in reference_type
[SVN r67496]
2010-12-29 23:38:19 +00:00
Bryce Adelstein-Lelbach
2d4f293439 Added the get_c_string function back in (it dispatches to the get_c_string_impl
CP). Fixed utree::list_type attribute so that only non-list utree nodes are wrapped in lists (this was the original behavior we wanted).



[SVN r67484]
2010-12-29 01:37:28 +00:00
Hartmut Kaiser
f30ca2301d Spirit: utree modifications, mostly
[SVN r67472]
2010-12-27 23:45:44 +00:00
Hartmut Kaiser
d381ed6e86 Spirit: removed remaining uses of fusion::unused_type
[SVN r67460]
2010-12-26 18:56:03 +00:00
Hartmut Kaiser
8e13c8bc5a Spirit: header blues...
[SVN r67458]
2010-12-26 17:19:30 +00:00
Hartmut Kaiser
9efb146e36 Spirit: touching up utree
[SVN r67457]
2010-12-26 17:18:24 +00:00
Hartmut Kaiser
c068c758a7 Spirit: clearly distinguish proto expressions from fusion sequences
[SVN r67456]
2010-12-26 15:31:01 +00:00
Hartmut Kaiser
62c7484349 Spirit: removed fusion as an associated namespace from spirit
[SVN r67448]
2010-12-25 21:58:51 +00:00
Hartmut Kaiser
ac0cdfb0a7 Spirit: utree integration, initial implementation complete
[SVN r67447]
2010-12-25 21:13:56 +00:00
Hartmut Kaiser
3f90d0c7d8 Spirit: fixing Qi sequence attribute handling
[SVN r67442]
2010-12-24 02:12:10 +00:00
Hartmut Kaiser
d785d4f538 Spirit: fixing Karma string literal problem
[SVN r67441]
2010-12-24 02:10:11 +00:00
Bryce Adelstein-Lelbach
05913d71b4 Added the as directive.
[SVN r67437]
2010-12-23 21:14:50 +00:00
Bryce Adelstein-Lelbach
a007ccec8d Removed the typed string CP, add a fix for sequences, and some new tests for
them.



[SVN r67409]
2010-12-22 05:20:00 +00:00
Hartmut Kaiser
03ea064572 Spirit: fixing iterator issue with utree
[SVN r67407]
2010-12-22 01:26:17 +00:00
Bryce Adelstein-Lelbach
3b37b8e575 Added a new utree CP to allow rule<Iterator, utf8_string_type()> r = char("+-/*")
semantics (rationale: a single character is represented as a string in utree).
Also added tests for the above functionality.



[SVN r67392]
2010-12-21 19:54:14 +00:00
Hartmut Kaiser
188185801e Spirit: adding missing header file
[SVN r67383]
2010-12-21 13:55:05 +00:00
Bryce Adelstein-Lelbach
555ce8238d Retooled the get_c_string customization point in Spirit (reimplemented it as
a static member of a template struct) to fix parameterized use of karma::string
with utree (e.g., string("foo")). Broke the Spirit test-suite into five test-suites
in the test Jamfile for testing individual Spirit modules (this doesn't change
what tests are run if you just invoke 'bjam' in libs/spirit/test, nor does it change
where in the build directory the tests are placed). Added some more utree tests.



[SVN r67380]
2010-12-21 07:17:40 +00:00
Hartmut Kaiser
a128a21a5b Spirit: more utree fixes
[SVN r67378]
2010-12-21 02:48:59 +00:00
Hartmut Kaiser
1354584dc9 Spirit: adding uninitialized utree node type
[SVN r67377]
2010-12-21 02:37:28 +00:00
Hartmut Kaiser
faf9bf4f1d Spirit: fixing clang warning
[SVN r67373]
2010-12-20 20:28:14 +00:00
Hartmut Kaiser
e5b9430005 Spirit: fixing Spirit for breaking change in Proto (Proto expressions are now Fusion sequences)
[SVN r67359]
2010-12-20 14:06:05 +00:00
Hartmut Kaiser
7ef3451359 Spirit: utree documentation work
[SVN r67356]
2010-12-20 01:54:35 +00:00
Hartmut Kaiser
6729406b90 Spirit: added matching of any tokens by specifying qi::token/qi::tokenid without parameter
[SVN r67350]
2010-12-19 18:32:02 +00:00
Hartmut Kaiser
1cf17949b6 Spirit: fixing gcc compilation problems
[SVN r67343]
2010-12-19 17:23:49 +00:00
Hartmut Kaiser
2f7fd00d37 Spirit: improving integration of utree in Karma
[SVN r67315]
2010-12-19 03:36:02 +00:00
Bryce Adelstein-Lelbach
958ffd3c11 Re-added the call to free() to utree's dtor, added a call to initialize() to it's
default ctor (this cleans up a memory leak).



[SVN r67294]
2010-12-18 04:24:54 +00:00
Hartmut Kaiser
d0cc9f8ed4 Spirit: more simplifications
[SVN r67293]
2010-12-18 02:36:35 +00:00
Hartmut Kaiser
b97a999104 Spirit: one minor fix, which should speed up things slightly
[SVN r67292]
2010-12-18 02:34:08 +00:00
Hartmut Kaiser
d8f8db882e Spirit: whitespace fixes
[SVN r67291]
2010-12-18 02:29:50 +00:00
Hartmut Kaiser
ebe4ab17f4 Spirit: fixing problem with utree tests, refactoring initialization code
[SVN r67290]
2010-12-18 02:29:18 +00:00
Bryce Adelstein-Lelbach
2fcd46d181 Fixed a typo in the scheme example (in the string input grammar, a call to
the name method of a parser component was incorrect), reformatted callouts
in utree docs per Hartmut's request, and fixed a memory leak in utree's list
implementation.



[SVN r67289]
2010-12-18 01:36:47 +00:00
Hartmut Kaiser
706c8cfbe6 Spirit: Adding missing header files
[SVN r67281]
2010-12-17 12:22:01 +00:00
Hartmut Kaiser
eaa0abbc01 Spirit: merging from trunk
[SVN r67274]
2010-12-16 13:39:55 +00:00
Bryce Adelstein-Lelbach
62333a9215 Fix order of includes for Spirit scheme example. Changed iterator_range.size()
to use std::distance instead of subtracting iterators, this allows it to work
with iterators other than random access. Added more utree docs to Spirit.



[SVN r67153]
2010-12-10 20:04:30 +00:00
Hartmut Kaiser
5dc5e48958 Spirit: fixing duplicate template specialization
[SVN r67148]
2010-12-10 16:26:18 +00:00
Bryce Adelstein-Lelbach
b89a39d0b6 Added docs for utree, added line_pos_iterator to Spirit.Support.
[SVN r67143]
2010-12-10 06:48:39 +00:00
Hartmut Kaiser
20aef5e361 Spirit: reverting a change causing problems on closer examination
[SVN r67133]
2010-12-09 16:05:36 +00:00
Hartmut Kaiser
abc10e5677 Spirit: silencing a warning
[SVN r67132]
2010-12-09 15:43:05 +00:00
Bryce Adelstein-Lelbach
198e3643d0 Modified the scheme example to use utree from boost::spirit.
[SVN r67126]
2010-12-09 05:14:51 +00:00
Hartmut Kaiser
4782a59cc2 Spirit: removing remnants of random access iterator in utree::node_iterator
[SVN r67121]
2010-12-09 03:20:13 +00:00
Hartmut Kaiser
ca5a439901 Spirit: adding missing specializations of customization points for utree
[SVN r67120]
2010-12-09 03:18:28 +00:00
Hartmut Kaiser
8dfab0c395 Spirit: merging endian fix from trunk
[SVN r67116]
2010-12-09 00:33:29 +00:00
Joel de Guzman
273385d316 correct as_string behavior
[SVN r67058]
2010-12-06 04:05:34 +00:00
Joel de Guzman
a606004b39 correct as_string behavior
[SVN r67057]
2010-12-06 04:04:25 +00:00
Hartmut Kaiser
85f3bc7057 Spirit: working on utree integration with Karma
[SVN r67051]
2010-12-06 00:13:17 +00:00
Hartmut Kaiser
a068efe1a8 Spirit: fixing a Karma issue with the new utree
[SVN r67023]
2010-12-05 18:39:33 +00:00
Joel de Guzman
756c83e19e added as_string directive as a synonym to "raw".
[SVN r67018]
2010-12-05 04:37:01 +00:00
Hartmut Kaiser
e6a6f0a65b Spirit: utree is fully integrated now
[SVN r67000]
2010-12-04 02:16:05 +00:00
Hartmut Kaiser
bd8eb0abe3 Spirit: fixing customization points for utree
[SVN r66998]
2010-12-04 02:02:55 +00:00
Hartmut Kaiser
f8d20f2cd7 Spirit: reverted utree change enforcing list_type on push_back
[SVN r66997]
2010-12-04 01:49:22 +00:00
Joel de Guzman
e665987e81 Utree-spirit integration
[SVN r66994]
2010-12-03 23:53:59 +00:00
Hartmut Kaiser
ceb1e13a94 Spirit: fixing warnings and a clang compilation issue
[SVN r66946]
2010-12-01 14:34:43 +00:00
Hartmut Kaiser
d27822d70a Spirit: more utree fixes for better integration with Qi
[SVN r66937]
2010-11-30 23:39:12 +00:00
Hartmut Kaiser
fd6d6fc84d Spirit: more fixes to utree
[SVN r66934]
2010-11-30 22:54:56 +00:00
Hartmut Kaiser
8b3d2a1346 Spirit: changing utree asserts into exceptions
[SVN r66918]
2010-11-30 20:35:36 +00:00
Hartmut Kaiser
74b69584ff Spirit: fixing iterator tag for utree node iterators
[SVN r66917]
2010-11-30 20:14:52 +00:00
Hartmut Kaiser
2f2d856c53 Spirit: adding utree forwarding header
[SVN r66914]
2010-11-30 19:51:08 +00:00
Hartmut Kaiser
dda0273e7e Spirit: adding utree as a first class citizen
[SVN r66912]
2010-11-30 19:48:27 +00:00
Hartmut Kaiser
689ac68028 Spirit: fixing compilation warnings in lexer
[SVN r66851]
2010-11-29 19:06:41 +00:00
Hartmut Kaiser
9e1656f22b Spirit: making hold_any constructor explicit
[SVN r66848]
2010-11-29 18:49:07 +00:00
Hartmut Kaiser
391600e92f Spirit: applying patch contributed by Mathias Gaunard, fixes compilation problems if lexer id type is not std::size_t
[SVN r66847]
2010-11-29 18:48:26 +00:00
Hartmut Kaiser
4ab5c818b8 Spirit: fixing shadowed template parameter
[SVN r66823]
2010-11-28 16:24:31 +00:00
Hartmut Kaiser
e23732602a Spirit: applying patch improving assert messages, fixing a couple of lexer problems caused by recent changes, added target state to token definition syntax, allowing semantic actions to be attached to lex::char_() and lex::string()
[SVN r66795]
2010-11-27 16:04:15 +00:00
Hartmut Kaiser
c905a51100 Spirit: applying patch improving assert messages
[SVN r66792]
2010-11-27 15:57:36 +00:00
Hartmut Kaiser
d80e9251dc Spirit: applying patch improving assert messages
[SVN r66791]
2010-11-27 15:56:53 +00:00
Hartmut Kaiser
6f0b38036b Spirit: applying patch improving assert messages
[SVN r66790]
2010-11-27 15:56:31 +00:00
Hartmut Kaiser
a5531a9673 Spirit: more token tuning
[SVN r66779]
2010-11-26 19:43:55 +00:00
Hartmut Kaiser
62302ac825 Spirit: adding another template parameter to lex::lexertl::token<>: the Idtype
[SVN r66778]
2010-11-26 19:01:13 +00:00
Hartmut Kaiser
8db701b1fc Spiriti: adding qi::tokenid() primitive
[SVN r66776]
2010-11-26 18:32:35 +00:00
Hartmut Kaiser
f03e050c9b Spirit: restoring bol state (begin of line) in case lex::pass_fail is used
[SVN r66759]
2010-11-25 18:07:57 +00:00
Hartmut Kaiser
98d1e35c16 Spirit: fixing gcc lexer compilation
[SVN r66758]
2010-11-25 17:22:14 +00:00
Hartmut Kaiser
2ca2a10fc9 Spirit: fixing lexer lookahead
[SVN r66740]
2010-11-24 23:50:57 +00:00
Hartmut Kaiser
70e92c2a94 Spirit: fixing problem in multi_pass showing up in conjunction with certain lexer usage patterns
[SVN r66737]
2010-11-24 17:54:20 +00:00
Hartmut Kaiser
bddf63542a Spirit: fixing lexers with semantic actions attached to state '*' tokens
[SVN r66735]
2010-11-24 17:05:38 +00:00
Hartmut Kaiser
fe86a9f378 Spirit: making sure we use internal endian library, still
[SVN r66649]
2010-11-19 18:03:05 +00:00
Hartmut Kaiser
e4ebe0b054 Spirit: applied patch for adapt-adt issue
[SVN r66644]
2010-11-19 13:51:58 +00:00
Hartmut Kaiser
af2c5c18f3 Spirit: yet another fix for the "*" all-states functionality
[SVN r66637]
2010-11-18 16:26:06 +00:00
Hartmut Kaiser
5d93b6ea9a Spirit: missed file in previous commit
[SVN r66636]
2010-11-18 16:18:17 +00:00
Hartmut Kaiser
c466fde372 Spirit: allowing "*" as a state name to associate a token definition with all states
[SVN r66633]
2010-11-18 14:46:18 +00:00
Hartmut Kaiser
7b7b37ed70 Spirit: removed duplicate specialization
[SVN r66632]
2010-11-18 13:42:29 +00:00
Hartmut Kaiser
559d108a41 Spirit: Fixing cut&paste error, adding missing specializations for assign_to_attribute_from_iterators<>.
[SVN r66624]
2010-11-17 20:39:18 +00:00
Bryce Adelstein-Lelbach
e332d75e8d Fixes a problem with iterators in Lex identified by M. Gaunard. This prevents
semantics such as "T it; T it2 = ++it;" from compiling. I've added his fix for
this as the semantics in question are clearly legal and the fix implements the
required behavior correctly.



[SVN r66623]
2010-11-17 15:31:03 +00:00
Hartmut Kaiser
637d7522af Spirit: adjusting code to pass new assert inspect rule
[SVN r66504]
2010-11-12 00:36:49 +00:00
Hartmut Kaiser
1522670bed Spirit: fixed #4825: boost/spirit/home/classic/dynamic/impl/switch.ipp missing a chunk in release branch
[SVN r66465]
2010-11-08 22:41:27 +00:00
Hartmut Kaiser
f28c15318c Spirit: merging latest bug fixes and doc updates from trunk
[SVN r66182]
2010-10-25 17:27:18 +00:00
Hartmut Kaiser
8501db6b3b Spirit: fixed a regression in qi::repeat[] I introduced with my last commit
[SVN r66170]
2010-10-25 01:01:35 +00:00
Hartmut Kaiser
e9ddd3bcb0 Spirit: fixing a problem in repeat, which caused the iterator not to be reset on certain parsing failures
[SVN r66167]
2010-10-24 22:25:37 +00:00
Hartmut Kaiser
68e178cbda Wave, Spirit: merging from trunk
[SVN r66165]
2010-10-24 22:20:01 +00:00
Hartmut Kaiser
1abe180343 Spirit: merging from trunk
[SVN r66089]
2010-10-19 12:49:10 +00:00
Hartmut Kaiser
90c68ee16e Spirit: merging from trunk
[SVN r66073]
2010-10-18 12:14:32 +00:00
Hartmut Kaiser
cc8e4a8b8d Spirit: fixed #4713 (boost.spirit.warnings.patch), applied patch
[SVN r66052]
2010-10-17 20:48:34 +00:00
Hartmut Kaiser
b5e8e750e3 Spirit: fixed #4742 (Karma produces not the supposed output for a real number generator in scientific mode)
[SVN r66050]
2010-10-17 20:37:19 +00:00
Hartmut Kaiser
a180992aea Spirit: fixing problem with the multi_pass/fixed_size_queue policy
[SVN r66047]
2010-10-17 19:49:48 +00:00
Hartmut Kaiser
508d5e8121 Spirit: cosmetic changes
[SVN r66041]
2010-10-17 14:29:34 +00:00
Hartmut Kaiser
432bc8d461 Spirit: cosmetic changes
[SVN r66040]
2010-10-17 14:26:19 +00:00
Hartmut Kaiser
921f857f19 Spirit: applying typeinfo patch submitted by Bryce Lelbach
[SVN r65846]
2010-10-08 21:40:00 +00:00
Christopher Schmidt
4aa3365c0e Fusion: merge from trunk
[SVN r65735]
2010-10-03 09:46:00 +00:00
Hartmut Kaiser
69d666fb5c Fixed possibly invalid XML generated from debug facilities
[SVN r65650]
2010-09-28 16:38:01 +00:00
Christopher Schmidt
f64a80e6de Fusion/Spirit: adt_attribute_proxy refactorization
[SVN r65445]
2010-09-17 20:38:23 +00:00
Christopher Schmidt
5c5eb0ba9d Spirit: better specializations for fusion::extension::access::adt_attribute_proxy
[SVN r65440]
2010-09-16 17:46:01 +00:00
Christopher Schmidt
88f21bc5c4 Fusion: BOOST_FUSION_ADAPT_xxxCLASSxxx -> BOOST_FUSION_ADAPT_xxxADTxxx
[SVN r65439]
2010-09-16 16:33:25 +00:00
Hartmut Kaiser
fd6c59c0b9 Spirit: replaced <:: with < :: to avoid forming trigraphs
[SVN r65324]
2010-09-06 22:21:39 +00:00
Hartmut Kaiser
c59544076e Spirit: More disambiguation of Phoenix types in Spirit.Classic
[SVN r65250]
2010-09-04 13:19:11 +00:00
Hartmut Kaiser
1cce450bbc Spirit: bumping version
[SVN r65221]
2010-09-03 17:35:23 +00:00
Hartmut Kaiser
140ea2ddaa Spirit: Added specializations for signed char and unsigned char to the auto parser and generator.
[SVN r65219]
2010-09-03 17:22:29 +00:00
Hartmut Kaiser
8f069e7020 Spirit: fixed a couple of (potential) ADL problems
[SVN r65116]
2010-08-29 21:24:32 +00:00
Hartmut Kaiser
4718e4a02e Spirit: untabified file
[SVN r65115]
2010-08-29 21:22:42 +00:00
Hartmut Kaiser
44f6d6d7a2 Spirit: Added exposed attribute to qi::grammar and karma::grammar
[SVN r65114]
2010-08-29 21:21:18 +00:00
Hartmut Kaiser
3db2a84f21 Spirit: more fixes for ADAPT_CLASS
[SVN r65054]
2010-08-27 15:07:05 +00:00
Hartmut Kaiser
06c8bd0f4d Spirit: fix for latest changes to ADAPT_CLASS macros in Fusion
[SVN r65053]
2010-08-27 15:03:29 +00:00
Hartmut Kaiser
112579d113 Spirit: Merging version fix from trunk
[SVN r65050]
2010-08-27 12:29:04 +00:00
Hartmut Kaiser
16309d10c2 Fixing debug output for optionals
[SVN r64972]
2010-08-23 16:48:24 +00:00
Ben Hanson
e9eb8a37a0 Use static_cast for consistency.
[SVN r64922]
2010-08-19 12:57:19 +00:00
Ben Hanson
8a4d65cc45 Space before * in casts. As this version of lexertl will be maintained primarily in SVN now, this kind of thing should happen less.
[SVN r64921]
2010-08-19 12:55:17 +00:00
Hartmut Kaiser
db27bd10aa Spirit: adjusting minimal Boost version for new endian library
[SVN r64883]
2010-08-18 11:31:53 +00:00
Hartmut Kaiser
145c875e50 Spirit: fixing gcc warning
[SVN r64466]
2010-07-30 13:55:48 +00:00
Hartmut Kaiser
f35e0cc2a8 Spirit: Added missing forwarding header
[SVN r64418]
2010-07-28 21:29:50 +00:00
Hartmut Kaiser
d241728ae1 Spirit: added missing header
[SVN r64396]
2010-07-27 19:11:57 +00:00
Hartmut Kaiser
90022938c1 Spirit: merging from trunk: documentation updates, comment fixes, formatting issues (tabs), added a new test, etc.
[SVN r64366]
2010-07-26 15:04:50 +00:00
Hartmut Kaiser
6d828ccc85 Spirit: fixed a problem while handling single element sequence attributes
[SVN r64258]
2010-07-22 13:24:20 +00:00
Hartmut Kaiser
1acc121baf Spirit: more debug support fixes
[SVN r64241]
2010-07-21 23:53:23 +00:00
Hartmut Kaiser
46fc3f1a53 Spirit: fixed bug in debug print for optionals
[SVN r64239]
2010-07-21 22:05:16 +00:00
Hartmut Kaiser
943e587e54 Spirit: comment corrections, minor documentation fix
[SVN r64230]
2010-07-21 19:18:43 +00:00
Hartmut Kaiser
be9f8759f5 Spirit: fixed debug output for variants
[SVN r64229]
2010-07-21 19:17:50 +00:00
Hartmut Kaiser
2d261f41fc Spirit: merging from trunk
[SVN r63993]
2010-07-13 19:10:52 +00:00
Hartmut Kaiser
ed8a7199b7 Spirit: improving compatibility with VC7.1
[SVN r63942]
2010-07-13 01:41:59 +00:00
Hartmut Kaiser
5c60fbdc4f Spirit: extended fix for gcc 3.x to intel compilers on apple
[SVN r63924]
2010-07-12 13:47:40 +00:00
Hartmut Kaiser
30475c9186 Spirit: Adding workaround to enable more tests to compile with gcc 3.4.x
[SVN r63908]
2010-07-12 02:01:23 +00:00
Hartmut Kaiser
06552e267f Spirit: added karma::duplicate[] directive
[SVN r63891]
2010-07-11 19:39:04 +00:00
Hartmut Kaiser
2ba43331f6 Spirit: merging from trunk
[SVN r63798]
2010-07-09 21:46:57 +00:00
Hartmut Kaiser
2eceb805ab Spirit: Fixing regression in Karma caused by a semantic change in proto
[SVN r63787]
2010-07-09 19:01:52 +00:00
Hartmut Kaiser
a7bf90b285 Spirit: integrated lexer with Qi's debug facilities
[SVN r63756]
2010-07-08 18:13:01 +00:00
Hartmut Kaiser
20f4fe41eb Spirit: more pizza version customization
[SVN r63718]
2010-07-07 00:57:16 +00:00
Hartmut Kaiser
43f2e25a24 Spirit: changed the pizza version to something edible :-P
[SVN r63717]
2010-07-07 00:56:21 +00:00
Hartmut Kaiser
070fa6efba Spirit: Fixing Karma examples
[SVN r63680]
2010-07-06 02:23:23 +00:00
Hartmut Kaiser
256393aea0 Spirit: merged another missing revision
[SVN r63675]
2010-07-05 20:23:31 +00:00
Hartmut Kaiser
e15638d450 Spirit: minor formatting changes
[SVN r63674]
2010-07-05 20:01:23 +00:00
Hartmut Kaiser
8eb011a6c7 Spirit: merged missing revision from trunk
[SVN r63673]
2010-07-05 19:55:02 +00:00
Hartmut Kaiser
ad03af237d Spirit: Added a clarifying comment
[SVN r63672]
2010-07-05 19:43:11 +00:00
Hartmut Kaiser
7045194c54 Spirit: merging from trunk upto rev. 63622
[SVN r63642]
2010-07-05 03:11:56 +00:00
Hartmut Kaiser
4dcab0e8d0 Spirit: merging from trunk upto rev. 61489
[SVN r63640]
2010-07-04 22:38:38 +00:00
Hartmut Kaiser
3144189169 Spirit: merging from trunk upto rev. 61347
[SVN r63633]
2010-07-04 21:04:31 +00:00
Hartmut Kaiser
75efca3d8c Spirit: merging from trunk upto rev. 61266
[SVN r63628]
2010-07-04 19:45:44 +00:00
Hartmut Kaiser
c836b3e6cd Spirit: merging from trunk upto rev. 61194
[SVN r63620]
2010-07-04 18:45:54 +00:00
Hartmut Kaiser
5b64ab2049 Spirit: minor changes
[SVN r63455]
2010-06-30 16:07:03 +00:00
Hartmut Kaiser
58175e8ed9 Spirit: spelling fixes
[SVN r63454]
2010-06-30 16:04:58 +00:00
Hartmut Kaiser
ca1851ac21 Spirit: Adding workaround for qi::symbols on gcc 3.x.x
[SVN r63453]
2010-06-30 16:04:33 +00:00
Hartmut Kaiser
2778f83efd Spirit: fixing ambiguity in Qi auto_ API
[SVN r63444]
2010-06-30 00:33:21 +00:00
Hartmut Kaiser
f88348c54c Spirit: fixing ambiguity in Karma auto_ API
[SVN r63443]
2010-06-30 00:32:42 +00:00
Joel de Guzman
df997bad19 disallowing partial parses of ints and enforcing overflow-is-parse-error rule.
[SVN r63128]
2010-06-20 10:06:11 +00:00
Hartmut Kaiser
54b3597003 Spirit: fixing problem in multi_pass
[SVN r63098]
2010-06-19 12:54:04 +00:00
Hartmut Kaiser
a2caa94c69 Spirit: adding debug support for optional attributes
[SVN r63097]
2010-06-19 12:52:23 +00:00
Joel de Guzman
50798ad249 Fix debug output for variants with one std container element.
[SVN r63093]
2010-06-19 05:30:24 +00:00
Hartmut Kaiser
ec2eeb3dc7 Spirit: fixed backtracking problem if semantic action makes parse fail retrospectively
[SVN r63086]
2010-06-18 21:49:51 +00:00
Joel de Guzman
2a39c4aa70 #4143 fix (patch applied)
[SVN r62961]
2010-06-15 01:18:35 +00:00
Hartmut Kaiser
696be9526d Spirit: fixed ticket #4304
[SVN r62506]
2010-06-07 10:12:36 +00:00
Hartmut Kaiser
0969104209 Spirit: Updated version number
[SVN r62259]
2010-05-27 12:50:06 +00:00
Hartmut Kaiser
390f32e0f6 Spirit: fixed #4253: Error with lex::_val
[SVN r62183]
2010-05-25 02:54:51 +00:00
Hartmut Kaiser
6f411eac96 Spirit: fixed a problem with lex::_val
[SVN r62182]
2010-05-24 22:43:31 +00:00
Hartmut Kaiser
114ba99919 Spirit: added missing using declarations
[SVN r62143]
2010-05-22 14:26:47 +00:00
Hartmut Kaiser
2069b7d786 Spirit: fixing const correctness problem
[SVN r62142]
2010-05-22 14:25:08 +00:00
Hartmut Kaiser
5c272df55a Spirit: fixed #4235 (spirit::lex::lexertl::data::lookahead: Incorrect name lookup for next())
[SVN r62084]
2010-05-18 14:59:03 +00:00
Joel de Guzman
2f5dd3e6fd #4204 patch (tst remove, may remove others nodes too)
[SVN r62081]
2010-05-18 11:09:56 +00:00
Hartmut Kaiser
28c160e631 Spirit: Fixing includes for endian and V1.44
[SVN r61918]
2010-05-11 20:18:12 +00:00
Douglas Gregor
3dee9bad28 Boost 1.44.0 does not yet have the Endian library, so Spirit should not try to use it.
[SVN r61914]
2010-05-11 16:55:07 +00:00
Douglas Gregor
5bf6ee7a52 Merge standards-conformance fixes for Boost.Spirit to trunk
[SVN r61870]
2010-05-09 01:58:32 +00:00
Hartmut Kaiser
448fbbdf60 Spirit: fixing strict issue in Karma sequences
[SVN r61843]
2010-05-07 18:01:00 +00:00
Hartmut Kaiser
3e3af668d9 Spirit: introduced new cutomization point for karma alternatives (variant_which) and extended strict mode to alternatives
[SVN r61726]
2010-05-02 03:06:31 +00:00
Douglas Gregor
afd66c5fdf We can't use the incomplete type simple_trace (actually, there are two
of these) inside a template in a non-dependent expression. Use a
little template trickery to make the expression dependent, delaying
type-checking until later, which simple_trace will be complete.


[SVN r61699]
2010-04-30 07:04:39 +00:00
Douglas Gregor
7979bc3d9d Move the implementation of
boost::phoenix::detail::ensure_default<Cases>::eval for the default
case so that it comes *after* the definition of the default_case
template.


[SVN r61698]
2010-04-30 07:02:54 +00:00
Douglas Gregor
11da675df7 Cannot bind a non-const reference to a const lvalue; change this
function to return by value instead.


[SVN r61697]
2010-04-30 07:01:36 +00:00
Hartmut Kaiser
00d1b62c0c Spirit: fixed const correctness problem
[SVN r61649]
2010-04-28 16:25:50 +00:00
Hartmut Kaiser
f3234e2fea Spirit: fixing wrong return statement construct
[SVN r61645]
2010-04-28 14:55:12 +00:00
Joel de Guzman
4eaf739641 Fixed typo (again)
[SVN r61548]
2010-04-24 23:10:00 +00:00
Hartmut Kaiser
d98c0b0f4d Spirit: fixed a stupid problem
[SVN r61523]
2010-04-24 01:23:05 +00:00
Joel de Guzman
dea9bc0d83 Fixed typo
[SVN r61520]
2010-04-24 00:16:08 +00:00
Hartmut Kaiser
6c3cdabafb Spirit: fixing strict mode for sequences
[SVN r61515]
2010-04-23 21:19:16 +00:00
Hartmut Kaiser
cacfd945bf Spirit: fixed problem with qi and karma debug_handler
[SVN r61514]
2010-04-23 21:17:25 +00:00
Hartmut Kaiser
ee8da76834 Spirit: tweaking attribute handling for Karma sequences
[SVN r61506]
2010-04-23 14:59:35 +00:00
Hartmut Kaiser
51f1a9f810 Spirit: fixing gcc errors
[SVN r61499]
2010-04-23 01:13:08 +00:00
Hartmut Kaiser
fdb92763c6 Spirit: added strict mode to Karma, new directives strict[] and relaxed[]. No docs yet
[SVN r61491]
2010-04-22 20:25:10 +00:00
Hartmut Kaiser
ebbe1e1146 Spirit: refactored debug code
[SVN r61477]
2010-04-22 00:40:52 +00:00
Hartmut Kaiser
00fc228796 Spirit: fixing more gcc errors
[SVN r61476]
2010-04-22 00:09:49 +00:00
Hartmut Kaiser
2966839ec7 Spirit: fixed gcc compilation problems, added karma debug support, fixed Qi debug indentation
[SVN r61475]
2010-04-21 23:35:50 +00:00
Hartmut Kaiser
404e525a1e Spirit: fixing compilation problem
[SVN r61471]
2010-04-21 18:53:10 +00:00
Hartmut Kaiser
491095d948 Spirit: fixing problem with using a karma::repeat[] in a sequence.
[SVN r61468]
2010-04-21 17:22:37 +00:00
Hartmut Kaiser
08afd83615 Spirit: added karma::skip directive
[SVN r61445]
2010-04-21 00:49:21 +00:00
Jeremiah Willcock
f86d7e1ae8 Fixed tab and no-newline-at-end-of-file issues from inspection report
[SVN r61435]
2010-04-20 17:54:16 +00:00
Hartmut Kaiser
fddb171674 Spirit: added transform_attribute customization point to Qi and Karma semantic actions
[SVN r61425]
2010-04-20 14:30:19 +00:00
Hartmut Kaiser
4964738975 Spirit: refactored implementation of transform_attribute
[SVN r61389]
2010-04-19 01:56:14 +00:00
Hartmut Kaiser
f30a4272bb Spirit: fixing inspect errors
[SVN r61375]
2010-04-18 19:02:09 +00:00
Hartmut Kaiser
998d066d64 Spirit: fixing inspect errors
[SVN r61373]
2010-04-18 18:31:53 +00:00
Hartmut Kaiser
c5e41d76a0 Spirit: fixing inspect errors
[SVN r61372]
2010-04-18 18:24:36 +00:00
Hartmut Kaiser
f0b3d3c909 Spirit: fixed attribute propagation of optionals in rules
[SVN r61328]
2010-04-16 22:47:13 +00:00
Hartmut Kaiser
c1a05a32af Spirit: Added a missing header file
[SVN r61325]
2010-04-16 18:16:55 +00:00
Hartmut Kaiser
b138af75ee Spirit: extended attribute handling capabilities of the karma::symbols generator
[SVN r61323]
2010-04-16 18:13:37 +00:00
Hartmut Kaiser
24e16f5585 Spirit: refined attribute extraction customization point (Karma), enabled single element sequences everzwhere a single value is expected (Qi, Karma)
[SVN r61322]
2010-04-16 18:12:24 +00:00
Hartmut Kaiser
c80ddb957c Spirit: added single character syntax for character ranges for Karma as well
[SVN r61320]
2010-04-16 18:00:33 +00:00
Hartmut Kaiser
ea89ba2a65 Spirit: added single character syntax for character ranges
[SVN r61318]
2010-04-16 17:55:29 +00:00
Hartmut Kaiser
4d73ff7a72 Spirit: fixing two problems in Karma's attribute handling
[SVN r61315]
2010-04-16 12:05:20 +00:00
Hartmut Kaiser
8260129b27 Spirit: working on karma::symbols generator
[SVN r61307]
2010-04-16 02:47:22 +00:00
Hartmut Kaiser
c65fb2f80f Spirit: refining the transform_attribute CP
[SVN r61284]
2010-04-15 02:43:23 +00:00
Hartmut Kaiser
a6e53f68f3 Spirit: refined not_is_variant and not_is_optional
[SVN r61254]
2010-04-13 18:50:50 +00:00
Hartmut Kaiser
7a446abc36 Spirit: removing stray comma
[SVN r61247]
2010-04-13 14:32:57 +00:00
Hartmut Kaiser
c8cf7cbe43 Phoenix: merging from trunk
[SVN r61226]
2010-04-12 13:35:58 +00:00
Joel de Guzman
d10a72e041 bug fix. removing add_const in result_of type deduction.
[SVN r61219]
2010-04-12 03:20:34 +00:00
Hartmut Kaiser
8d9e74e9ee Spirit: merging bug fixes from trunk
[SVN r61216]
2010-04-12 00:01:21 +00:00
Hartmut Kaiser
f3f66b9cca Spirit: allow to output pointers using uint generators
[SVN r61213]
2010-04-11 22:09:28 +00:00
Hartmut Kaiser
09b7529a44 Spirit: fixing problem in karma::omit
[SVN r61212]
2010-04-11 22:05:26 +00:00
Hartmut Kaiser
dc21be9b9f Spirit: fixing problems in reference.cpp
[SVN r61171]
2010-04-10 02:32:28 +00:00
Hartmut Kaiser
09ce81e2ce Spirit: added overloads for all API functions allowing to take the iterator as const refs
[SVN r61159]
2010-04-09 15:46:51 +00:00
Hartmut Kaiser
52e6bbf5b1 Spirit: last merge from trunk
[SVN r61133]
2010-04-07 18:16:49 +00:00
Hartmut Kaiser
b1bb3cac08 Spirit: merging from trunk
[SVN r61130]
2010-04-07 16:30:11 +00:00
Hartmut Kaiser
93c0009c53 Spirit: generated lexer tables are not minimzed by default anymore
[SVN r61128]
2010-04-07 15:49:20 +00:00
Hartmut Kaiser
e017beba02 Spirit: fixing attribute transformation ambiguity
[SVN r61123]
2010-04-07 13:16:53 +00:00
Hartmut Kaiser
54ac410fea Spirit: merging from trunk
[SVN r61119]
2010-04-07 01:42:10 +00:00
Hartmut Kaiser
80c0efc87d Spirit: more merges from trunk
[SVN r61118]
2010-04-07 00:41:42 +00:00
Hartmut Kaiser
4424ffe26b Spirit: more merges from trunk
[SVN r61116]
2010-04-06 21:29:53 +00:00
Hartmut Kaiser
ea22612112 Spirit: still fighting tree conflict...
[SVN r61109]
2010-04-06 18:31:22 +00:00
Hartmut Kaiser
42f731312b Spirit: trying to resolve tree conflict
[SVN r61108]
2010-04-06 18:20:34 +00:00
Hartmut Kaiser
72713a57dc Spirit: merging from trunk
[SVN r61106]
2010-04-06 16:28:38 +00:00
Hartmut Kaiser
64f9cbdfdd Wave: merging from trunk
[SVN r61105]
2010-04-06 15:43:50 +00:00
Joel de Guzman
d3968c7d9a - better attribute handling
- introduced is_proxy

[SVN r61002]
2010-04-02 16:00:02 +00:00
Hartmut Kaiser
b679c4b3ef Spirit: fixing #include
[SVN r60918]
2010-03-29 17:23:06 +00:00
Hartmut Kaiser
bb8f7012d1 Spirit: Added missing file
[SVN r60917]
2010-03-29 17:17:50 +00:00
Hartmut Kaiser
c057e7f492 Spirit: improving customization points for karma alternatives
[SVN r60885]
2010-03-28 02:06:01 +00:00
Joel de Guzman
907553fbdd When supplying 3 arguments for the adder, require the third (val) argument. Otherwise, it will be ambiguous with the 2-param version.
[SVN r60849]
2010-03-26 02:33:30 +00:00
Joel de Guzman
179a0d37a9 force casting of signed integer attributes to unsigned integers when possible.
[SVN r60752]
2010-03-21 17:15:32 +00:00
Hartmut Kaiser
98dabf886b Spirit: fixed comments to match code
[SVN r60645]
2010-03-16 12:10:56 +00:00
Hartmut Kaiser
1d0d092dc6 Spirit: fixed #3999:
[SVN r60496]
2010-03-12 02:18:23 +00:00
Joel de Guzman
1c92ae4ee5 added support for debug printing stl containers
[SVN r60495]
2010-03-12 00:20:34 +00:00
Hartmut Kaiser
b6b0b4fd47 Spirit: Fixing problem in Karma repetitive generators.
[SVN r60451]
2010-03-10 23:37:04 +00:00
Hartmut Kaiser
5afd1a7d24 Spirit: fixing another bug in multi_pass
[SVN r60373]
2010-03-09 01:49:14 +00:00
Joel de Guzman
f954840b6e fix type-deduction for the odd case where the container is also the contained (container::value_type == container)
[SVN r60351]
2010-03-08 15:54:23 +00:00
Hartmut Kaiser
e5e7a774af Spirit: removing default?encoding from Karma
[SVN r60350]
2010-03-08 14:05:04 +00:00
Joel de Guzman
e00e75c9a4 removing default encodings
[SVN r60347]
2010-03-08 12:51:06 +00:00
Joel de Guzman
6c5e4f0930 tweaks. caught a unicode lowercase table lookup bug
[SVN r60345]
2010-03-08 12:43:42 +00:00
Joel de Guzman
b05a0801f3 relaxing the input for char-sets (allow definition strings which have less bits than the target, e.g. char const* input where target is wchar_t).
[SVN r60259]
2010-03-07 01:27:33 +00:00
Hartmut Kaiser
558720c037 Spirit: implemented new encoding features for Karma
[SVN r60256]
2010-03-06 21:58:09 +00:00
Joel de Guzman
d4dc3e7618 some tweaks (casting chars)
[SVN r60226]
2010-03-06 11:26:39 +00:00
Joel de Guzman
22040cb3b2 correct casting of char with correct handling of signedness.
[SVN r60225]
2010-03-06 11:17:22 +00:00
Joel de Guzman
b9d933bff0 typo
[SVN r60218]
2010-03-05 23:47:21 +00:00
Joel de Guzman
98da11f9c8 encoding directive
[SVN r60216]
2010-03-05 23:16:13 +00:00
Hartmut Kaiser
1ab9bbaf33 Spirit: adjustments to buffering_input_iterator
[SVN r60195]
2010-03-05 16:56:12 +00:00
Joel de Guzman
1a2b964bfb rules with parameters for char encoding
[SVN r60192]
2010-03-05 15:43:14 +00:00
Joel de Guzman
c5c871c892 rules with parameters for char encoding
[SVN r60191]
2010-03-05 15:40:27 +00:00
Joel de Guzman
c38df6008e encoding directive
[SVN r60185]
2010-03-05 13:31:13 +00:00
Hartmut Kaiser
33a613fabf Spirit: fixed Karma output_iterator not to be noncopyable anymore.
[SVN r60180]
2010-03-05 12:30:14 +00:00
Joel de Guzman
1437e3980f adding default_wide char_encoding
[SVN r60178]
2010-03-05 06:59:03 +00:00
Joel de Guzman
67096035c9 adding default char_encoding
[SVN r60164]
2010-03-05 02:59:39 +00:00
Hartmut Kaiser
c7fb22647e Spirit: Fixed return value for expect parser if exceptions are not enabled.
[SVN r60153]
2010-03-04 18:56:52 +00:00
Hartmut Kaiser
a578088b84 Added buffering_input_iterator to multi_pass suite
[SVN r60152]
2010-03-04 18:56:03 +00:00
Hartmut Kaiser
188c62913f Spirit: silenced a g++ warning.
[SVN r59946]
2010-02-26 12:12:31 +00:00
Hartmut Kaiser
f9e5dcba91 Spirit: fixed #2304 (Patch to fix warnings in spirit)
[SVN r59937]
2010-02-26 02:24:59 +00:00
Hartmut Kaiser
ef62503494 Spirit: fixed #3806 (spirit/home/support/multi_pass.hpp missing functor_input #include)
[SVN r59931]
2010-02-26 01:16:12 +00:00
Hartmut Kaiser
dcafb6507b Spirit: fixed #3815 (Clearing an iterator range)
[SVN r59929]
2010-02-26 01:12:23 +00:00
Hartmut Kaiser
93407fafd1 Spirit: added karma::no_delimit[], added post-delimit step to implicit verbatim Karma rules
[SVN r59761]
2010-02-19 15:45:23 +00:00
Hartmut Kaiser
681de828df Spirit: missing commit
[SVN r59748]
2010-02-18 16:38:01 +00:00
Joel de Guzman
9907e310b3 fixed missing pre-skip in other parse branch
[SVN r59742]
2010-02-17 21:47:54 +00:00
Joel de Guzman
2b02d964da simplified but equivalent logic
[SVN r59726]
2010-02-17 04:00:30 +00:00
Joel de Guzman
a165ea04e0 fixed logic
[SVN r59725]
2010-02-17 03:55:37 +00:00
Joel de Guzman
1c842afbe2 fixed logic
[SVN r59724]
2010-02-17 03:52:46 +00:00
Joel de Guzman
14faa9c648 added code for pre-skipping "implicit lexeme" rules
[SVN r59718]
2010-02-17 02:10:50 +00:00
Hartmut Kaiser
a95ec1cf4b Spirit: adding no_skip[] directive
[SVN r59716]
2010-02-17 01:48:34 +00:00
Hartmut Kaiser
67c8e925d7 Spirit: reverted latest changes for raw as well
[SVN r59715]
2010-02-17 01:22:47 +00:00
Hartmut Kaiser
2aafa2ec8e Spirit: reverted latest changes
[SVN r59714]
2010-02-17 01:16:44 +00:00
Hartmut Kaiser
f33faca44e Spirit: raw[] and lexeme.hpp[] do not pre-skip anymore
[SVN r59662]
2010-02-13 00:21:29 +00:00
Hartmut Kaiser
94c78f63a9 Spirit more fixes for Qi's numeric_utils
[SVN r59543]
2010-02-07 04:27:58 +00:00
Hartmut Kaiser
5bf0dba875 Spirit: added missing #include
[SVN r59542]
2010-02-07 04:13:01 +00:00
Hartmut Kaiser
04ed74c45b Spirit: buffer[buffer[...]] does not result in double buffering anymore
[SVN r59540]
2010-02-07 03:56:22 +00:00
Joel de Guzman
7dc24bf77e added hold directive
[SVN r59522]
2010-02-06 02:16:20 +00:00
Joel de Guzman
41c376a12b added hold directive
[SVN r59519]
2010-02-06 01:51:34 +00:00
Hartmut Kaiser
7c775b3025 Spirit: committing missing change
[SVN r59491]
2010-02-05 00:39:08 +00:00
Hartmut Kaiser
b23f2fce51 Spirit: fixing const bug in multi_pass
[SVN r59490]
2010-02-05 00:35:47 +00:00
Hartmut Kaiser
31f098bf7d Spirit: adding workaround for MSVC falsly trzing to use multi_pass::operator== for other iterators
[SVN r59486]
2010-02-05 00:17:40 +00:00
Joel de Guzman
ea0e1cb122 More Unicode Support
[SVN r59440]
2010-02-03 12:35:10 +00:00
Joel de Guzman
2a321a593d basic tests ok
[SVN r59423]
2010-02-02 12:14:55 +00:00
Joel de Guzman
24a28ba7eb Complete Unicode Level-1 support: table generation.
[SVN r59422]
2010-02-02 09:58:54 +00:00
Joel de Guzman
df719088da Complete Unicode Level-1 support: table generation.
[SVN r59421]
2010-02-02 09:55:09 +00:00
Joel de Guzman
56d1f71a5d Complete Unicode Level-1 support: table generation.
[SVN r59420]
2010-02-02 09:04:13 +00:00
Joel de Guzman
6b5d871009 Complete Unicode Level-1 support: table generation.
[SVN r59417]
2010-02-01 13:46:04 +00:00
Joel de Guzman
57f2202c89 Complete Unicode Level-1 support: table generation.
[SVN r59416]
2010-02-01 13:45:13 +00:00
Joel de Guzman
5ff70a8454 Complete Unicode Level-1 support: table generation.
[SVN r59413]
2010-02-01 12:03:13 +00:00
Joel de Guzman
dc2045f0f9 Complete Unicode Level-1 support: table generation.
[SVN r59407]
2010-02-01 04:14:51 +00:00
Joel de Guzman
8480d58bb9 Complete Unicode Level-1 support: table generation.
[SVN r59376]
2010-01-31 10:28:57 +00:00
Hartmut Kaiser
505dbf4b40 Spirit: added new file
[SVN r59358]
2010-01-30 02:23:37 +00:00
Hartmut Kaiser
1ce1697237 Spirit: added one more customization point specialization for adapt_class
[SVN r59356]
2010-01-30 02:16:19 +00:00
Hartmut Kaiser
21ce01ea0d Spirit: proper support for sequences taking one element attribute sequence
[SVN r59355]
2010-01-30 02:15:22 +00:00
Hartmut Kaiser
f5fafcd8a5 Spirit: proper use of customization points in string_generate
[SVN r59354]
2010-01-30 02:13:47 +00:00
Hartmut Kaiser
42ba7217b7 Spirit: fixing sequences with unused attribute at the end
[SVN r59353]
2010-01-30 02:12:38 +00:00
Hartmut Kaiser
501233d302 Spirit: fixing specialization for transform_attribute<optional<>, ...>
[SVN r59351]
2010-01-29 23:46:01 +00:00
Hartmut Kaiser
8ac872d39e Spirit: fixing remaining problems from changing transform_attribute
[SVN r59348]
2010-01-29 17:13:53 +00:00
Hartmut Kaiser
d2b23a16ec Spirit: bumped version number
[SVN r59344]
2010-01-29 15:41:38 +00:00
Hartmut Kaiser
79f462d511 Spirit: added fail_transform handler to attribute_transform
[SVN r59343]
2010-01-29 15:40:54 +00:00
Hartmut Kaiser
56dd31b02d Spirit: added support for fusion_adapt_class in Spirit, added fail_transform handler to attribute_transform
[SVN r59342]
2010-01-29 15:40:01 +00:00
Hartmut Kaiser
02e4bf6ff2 Spirit: replacing custom made swap with boost::swap, should make compile Wave again
[SVN r59277]
2010-01-27 17:31:36 +00:00
Hartmut Kaiser
764750e9a6 Spirit: added specialization for signed char - doh!
[SVN r59245]
2010-01-23 22:29:10 +00:00
Hartmut Kaiser
5d2015b7df Spirit:: adding missing function in multi_pass policies.
[SVN r59242]
2010-01-23 21:22:14 +00:00
Hartmut Kaiser
2a61ff59f9 Spirit: merging bug fix for rule copy construction from trunk
[SVN r59240]
2010-01-23 18:29:34 +00:00
Hartmut Kaiser
7b6bad34e2 Spirit: fixing nasty bug in rule copy constructor
[SVN r59156]
2010-01-20 14:43:22 +00:00
Hartmut Kaiser
958b8d070f Spirit: added missing eol at eof
[SVN r59130]
2010-01-18 17:19:05 +00:00
Hartmut Kaiser
0330e958cb Spirit: merging from trunk
[SVN r59011]
2010-01-14 23:52:48 +00:00
Hartmut Kaiser
c29ce7077a Spirit: added spirit::ostream_iterator
[SVN r58995]
2010-01-14 03:44:30 +00:00
Hartmut Kaiser
905221df6f Spirit: reformulating static assertion
[SVN r58971]
2010-01-13 13:23:25 +00:00
Joel de Guzman
89af4a2983 better encoding
[SVN r58966]
2010-01-13 11:27:22 +00:00
Hartmut Kaiser
118bb1da59 Spirit: minor comment edits
[SVN r58920]
2010-01-12 04:27:45 +00:00
Hartmut Kaiser
394905a183 Spirit: Allowing karma uint generators being invoked using signed integers
[SVN r58919]
2010-01-12 04:15:47 +00:00
Hartmut Kaiser
23bda98427 Spirit: fixed signed/unsigned mismatch in Qi's binary parsers
[SVN r58918]
2010-01-12 01:22:48 +00:00
Hartmut Kaiser
a4cb299fab Spirit: qi::matches.hpp[] has to succeed always
[SVN r58914]
2010-01-11 20:42:50 +00:00
Hartmut Kaiser
3e16b835bd Spirit: merging from trunk
[SVN r58872]
2010-01-10 16:25:12 +00:00
Hartmut Kaiser
a23189ec5e Spirit: modified conditions for workaround
[SVN r58871]
2010-01-10 16:11:58 +00:00
Hartmut Kaiser
a9c83db5eb Spirit: working around false static assert on earlier versions of gcc
[SVN r58870]
2010-01-10 16:08:21 +00:00
Hartmut Kaiser
3b253328a0 Spirit: added compile time assertion diagnosing a configuration mismatch
[SVN r58859]
2010-01-10 01:45:56 +00:00
Hartmut Kaiser
f023f81e74 Spirit: disambiguating call to traits::is_empty
[SVN r58851]
2010-01-09 18:59:46 +00:00
Hartmut Kaiser
d180c4d806 Spirit: reverting change to Qi sequence attribute handling
[SVN r58850]
2010-01-09 18:52:59 +00:00
Hartmut Kaiser
8ad85ef03c Spirit: fixing attribute handling in sequences
[SVN r58824]
2010-01-09 03:51:21 +00:00
Hartmut Kaiser
bdf6b5deec Spirit: merged addition of qi::matches from trunk
[SVN r58819]
2010-01-08 21:06:55 +00:00
Hartmut Kaiser
2d3e852db6 Spirit: reverted accidental changes
[SVN r58799]
2010-01-08 04:54:10 +00:00
Hartmut Kaiser
e8f1961787 Spirit: adding the matches.hpp[] directive
[SVN r58797]
2010-01-08 02:33:56 +00:00
Hartmut Kaiser
2cbd98206d Spirit: minor fixes to qi::omit.hpp[] directive
[SVN r58796]
2010-01-08 02:22:05 +00:00
Hartmut Kaiser
11b0708bf8 Spirit: merging from trunk
[SVN r58787]
2010-01-07 16:23:39 +00:00
Hartmut Kaiser
1c1b456d16 Spirit: added special operator= to lookahead and basic_istream_iterator.
[SVN r58779]
2010-01-06 20:56:20 +00:00
Hartmut Kaiser
40411e9849 Spirit: merging from trunk
[SVN r58723]
2010-01-05 18:42:31 +00:00
Hartmut Kaiser
f152aed6a7 Spirit: more multi_pass fixes
[SVN r58720]
2010-01-05 17:50:03 +00:00
Hartmut Kaiser
b958068a75 Spirit: extended workaround for auto_ facilities to gcc 4.2
[SVN r58708]
2010-01-05 16:47:03 +00:00
Hartmut Kaiser
1e4f51c84b Spirit: fix for one of the multi_pass policies
[SVN r58707]
2010-01-05 16:03:15 +00:00
Hartmut Kaiser
6938edfcd8 Spirit: fixing gcc related issues in multi_pass
[SVN r58706]
2010-01-05 13:45:39 +00:00
Hartmut Kaiser
536c597e08 Spirit: workaround for broken gcc 4.3.x behavior
[SVN r58699]
2010-01-05 03:55:27 +00:00
Hartmut Kaiser
1874680e7c Spirit: added missing top level include file
[SVN r58698]
2010-01-05 03:20:03 +00:00
Hartmut Kaiser
e79480fe49 Spirit: added karma::auto_()
[SVN r58695]
2010-01-05 01:03:15 +00:00
Hartmut Kaiser
ea8b636b3a Spirit: added concept checks for qi API functions, fixed qi::match functions, added basic_istream_iterator
[SVN r58694]
2010-01-04 23:41:01 +00:00
Hartmut Kaiser
a03a2d4004 Spirit: fixed SA detection for karma::maxwidth
[SVN r58602]
2009-12-30 20:24:21 +00:00
Hartmut Kaiser
4db4bbb82e Spirit: accounting for changed fusion::fold parameter sequence in new Boost version (merging from trunk)
[SVN r58599]
2009-12-30 18:03:18 +00:00
Hartmut Kaiser
4cb169777e Spirit: accounting for changed fusion::fold parameter sequence in new Boost version
[SVN r58598]
2009-12-30 17:27:06 +00:00
Hartmut Kaiser
7e0a5eced9 Spirit: merged copyright updates from trunk
[SVN r58593]
2009-12-30 16:55:38 +00:00
Hartmut Kaiser
522024a520 Spirit: merging from trunk
[SVN r58591]
2009-12-30 16:28:01 +00:00
Hartmut Kaiser
defebe465b Spirit: updating copyrights
[SVN r58588]
2009-12-30 16:10:16 +00:00
Hartmut Kaiser
150e37762a Spirit: merging more changes from trunk
[SVN r58577]
2009-12-30 02:46:59 +00:00
Hartmut Kaiser
8cff7b6695 Spirit: removed outdated file
[SVN r58576]
2009-12-30 02:45:46 +00:00
Hartmut Kaiser
3715538f31 Spirit: untabified files
[SVN r58574]
2009-12-30 01:39:37 +00:00
Hartmut Kaiser
6cf2a81aa5 Spirit: merging more changes from trunk
[SVN r58573]
2009-12-30 01:01:59 +00:00
Hartmut Kaiser
02ed6bd1c0 Spirit: merging from trunk for 1.42
[SVN r58572]
2009-12-30 00:19:05 +00:00
Hartmut Kaiser
94a0e7c481 Spirit: restricted workaround to VC7.1
[SVN r58570]
2009-12-29 23:07:55 +00:00
Hartmut Kaiser
f7170b0080 Spirit: tweaks for auto_ support
[SVN r58565]
2009-12-29 16:40:03 +00:00
Hartmut Kaiser
d65a636b87 Spirit: fixing a problem in sequences if the attribute is a container of containers
[SVN r58563]
2009-12-29 16:36:37 +00:00
Hartmut Kaiser
ba749db343 Spirit: expanded the quick hack to include strings
[SVN r58492]
2009-12-22 16:07:06 +00:00
Joel de Guzman
55e5445446 Added note to fix the thing
[SVN r58491]
2009-12-22 16:03:19 +00:00
Hartmut Kaiser
f6afe8aa0b Spirit: comment typo fixes
[SVN r58467]
2009-12-20 14:31:00 +00:00
Ben Hanson
aa7a9ccf56 revert test
[SVN r58453]
2009-12-18 12:14:46 +00:00
Ben Hanson
a3ed5e26b1 test
[SVN r58452]
2009-12-18 12:13:36 +00:00
Hartmut Kaiser
0023c3526d Spirit: updating Lexer files
[SVN r58444]
2009-12-17 23:35:48 +00:00
Hartmut Kaiser
dd3a0df0ff Spirit: fixing more g++ compilation problems
[SVN r58439]
2009-12-17 17:14:31 +00:00
Hartmut Kaiser
15e2c1d7c6 Spirit: fixing g++ compilation problems
[SVN r58438]
2009-12-17 17:12:36 +00:00
Hartmut Kaiser
64ed0da853 Spirit: applied workaround in auto_ support for older versions of g++ (< V4.1)
[SVN r58437]
2009-12-17 17:05:42 +00:00
Joel de Guzman
6163c65c2d unicode support
[SVN r58425]
2009-12-17 08:59:48 +00:00
Joel de Guzman
b826ed7caf unicode support
[SVN r58423]
2009-12-17 02:36:25 +00:00
Joel de Guzman
26e71ae71c unicode support
[SVN r58422]
2009-12-17 02:33:32 +00:00
Hartmut Kaiser
f51e2eacb8 Spirit: fixing gcc problems in static lexer generation
[SVN r58415]
2009-12-16 14:56:05 +00:00
Hartmut Kaiser
109cd786d0 Spirit: fixing qi::repeat[] for unused attributes
[SVN r58413]
2009-12-16 12:30:41 +00:00
Hartmut Kaiser
e8e54a6a26 Spirit: fixing problem in qi::repeat[]
[SVN r58407]
2009-12-16 01:37:45 +00:00
Hartmut Kaiser
815da99d47 Spirit: fixing an issue with Karma alternatives
[SVN r58378]
2009-12-14 15:51:13 +00:00
Hartmut Kaiser
269affc51e Spirit: fixed include guard problem
[SVN r58356]
2009-12-13 16:40:15 +00:00
Hartmut Kaiser
4d3cc68098 Spirit: added bool return value to push_back customization point
[SVN r58297]
2009-12-11 19:50:15 +00:00
Hartmut Kaiser
27ff19ba5a Spirit: fixed include guard conflict (fixes #3724)
[SVN r58196]
2009-12-06 18:52:57 +00:00
Hartmut Kaiser
ca6cb3bb83 Spirit: more work on karma::columns directive
[SVN r58172]
2009-12-06 01:19:03 +00:00
Hartmut Kaiser
43e9241fbc Spirit: streamlined handling of optionals
[SVN r58146]
2009-12-04 21:32:06 +00:00
Hartmut Kaiser
99b66fbf19 Spirit: adding karma::columns directive
[SVN r58120]
2009-12-03 17:46:48 +00:00
Hartmut Kaiser
3c70756f94 Spirit: simplified auto facilities
[SVN r58117]
2009-12-03 16:57:16 +00:00
Hartmut Kaiser
e98ef651e1 Spirit: fixing included files
[SVN r58109]
2009-12-03 03:20:36 +00:00
Hartmut Kaiser
6bfbf963d7 Spirit: fixing numeric generators for character types
[SVN r58108]
2009-12-03 03:19:41 +00:00
Hartmut Kaiser
d01cf68774 Spirit: fixes for recent patch
[SVN r58106]
2009-12-03 03:17:44 +00:00
Hartmut Kaiser
e1a26f9742 Spirit: added auto based overloads for API functions where possible
[SVN r58105]
2009-12-03 02:43:53 +00:00
Hartmut Kaiser
8b5d295faf Spirit: auto_ tweaks, added missing header
[SVN r58082]
2009-12-01 14:30:54 +00:00