Commit Graph

2382 Commits

Author SHA1 Message Date
Agustín Bergé
2aa65d92b3 Merge pull request #21 from jamboree/push/utilities
Added several utilities: integer_sequence, is_callable, unrefcv
2014-05-05 19:41:35 -05:00
Joel de Guzman
372437d5f5 Merge pull request #18 from K-ballo/fix-8537
Fix for #8537: Qi `skip` fails when nested under two or more levels of `...
2014-05-05 07:57:39 +08:00
Lee Clagett
bb6f924aeb Flattened extensions directory. 2014-05-03 11:14:01 -04:00
Lee Clagett
70df6e398e Ported v2 repository seek directive to x3 extensions 2014-05-02 23:58:48 -04:00
Lee Clagett
7e8aa63eb3 Fixing compilation issue when including raw directive, or semantic action. 2014-05-02 23:39:19 -04:00
Jamboree
821c3d701e add utility/unrefcv 2014-05-02 22:02:21 +08:00
Jamboree
4ff26b1ba5 add utility/is_callable 2014-05-02 22:01:39 +08:00
Jamboree
29d982db18 add utility/integer_sequence 2014-05-02 22:01:13 +08:00
Joel de Guzman
c9f4ec675b based on calc6 with any_parser 2014-05-02 19:33:07 +08:00
Joel de Guzman
a129355f3e implemented raw directive 2014-05-02 10:53:16 +08:00
Joel de Guzman
7f111eb070 added with directive 2014-05-02 08:30:37 +08:00
Agustín Bergé
56a10f7b78 Merge pull request #17 from wichtounet/patch-1
Qualify get with x3::get
2014-05-01 17:32:59 -03:00
Joel de Guzman
adb97d5278 removed extra include 2014-05-01 16:13:40 +08:00
Joel de Guzman
f7a3280fe6 added ast utilities 2014-05-01 16:13:15 +08:00
Joel de Guzman
3da43905a9 better x3::variant interface 2014-05-01 11:52:18 +08:00
Joel de Guzman
2f2e450596 ading is_rule trait 2014-05-01 07:19:52 +08:00
Joel de Guzman
61d656e606 removing non-variadics code 2014-05-01 07:02:38 +08:00
Joel de Guzman
40b190717a new facade-based API (reverted from commit 7f7dbe9036) 2014-05-01 06:34:19 +08:00
Joel de Guzman
5fdfd96434 Merge pull request #15 from jamboree/develop
fix transform_params/ fix integer_sequence for clang (reverted from commit 29fea72576)
2014-05-01 06:33:39 +08:00
K-ballo
f91e771d51 Fix for #8537: Qi skip fails when nested under two or more levels of lexeme 2014-04-26 23:53:55 -03:00
K-ballo
621e7ec143 Fixes for boost::optional explicit operator bool 2014-04-26 22:40:54 -03:00
K-ballo
1995de7249 Fixed const issue in attr_parser 2014-04-26 17:40:55 -03:00
Baptiste Wicht
51d8b948d8 Qualify get with x3::get 2014-04-26 10:53:32 +02:00
Baptiste Wicht
d9affe28c9 Qualify get with x3::get 2014-04-26 10:50:54 +02:00
Baptiste Wicht
52ad3bd463 Quality get with x3::get 2014-04-26 10:43:56 +02:00
jamboree
c298ad4c7f fix transform_params/ fix integer_sequence for clang 2014-04-25 12:02:41 +08:00
Jamboree
7f7dbe9036 new facade-based API 2014-04-23 22:03:03 +08:00
K-ballo
9015fc5324 Moved is_parser trait to its own file 2014-04-22 14:34:26 -03:00
K-ballo
ad772933a7 Added type-erased parser, tests and examples 2014-04-22 13:55:08 -03:00
K-ballo
9fc5b68d39 Subcontext fixes and formatting 2014-04-22 13:55:08 -03:00
Joel de Guzman
dc5d47814e various sequence handling fixes 2014-04-20 11:07:23 +08:00
Joel de Guzman
4497575589 added mising files 2014-04-18 19:48:10 +08:00
Joel de Guzman
0919f2a5d8 cleanup 2014-04-18 10:08:43 +08:00
Joel de Guzman
25b1cc6425 Fix for case where a single-element sequence is not being moved into a variant that can accept it. 2014-04-18 09:57:59 +08:00
Joel de Guzman
9c4f73a39a moved (variant)has_substitute and (variant)find_substitute into traits 2014-04-18 09:38:23 +08:00
Joel de Guzman
4afb7f95f7 Merge pull request #12 from vtnerd/bugfix/qi_tests
Bugfix/qi tests
2014-04-17 07:47:49 +08:00
Lee Clagett
f0548108d3 Made alterative_function functor const to match non-specialized version. 2014-04-16 07:31:30 -04:00
Lee Clagett
d7b37aec4b Fixed iterator rollback bug in tst_map 2014-04-13 12:03:56 -04:00
Ruslan Baratov
bbe67a21c3 Fix some misprints in docs and code comments. 2014-04-11 16:27:54 +04:00
Joel de Guzman
08a133e849 variant should be named variant. nothing else. 2014-04-09 22:25:43 +08:00
Joel de Guzman
a97fb7faf6 improved variant interface 2014-04-09 22:16:20 +08:00
Joel de Guzman
c265c80da8 added x3::ast and x3::forward_ast (specialized versions of boost::variant and boost::recursive_wrapper) 2014-04-09 15:17:02 +08:00
Joel de Guzman
26b0e9e1f0 action should be in core, not auxilary 2014-04-09 12:57:52 +08:00
Joel de Guzman
f88d50853c use enum class for error_handler_result 2014-04-09 11:54:09 +08:00
Joel de Guzman
e24686ea6f added on_sucess handler (complements on_error) 2014-04-09 11:40:02 +08:00
Joel de Guzman
c0c07026dc Ported calc5 to X3 (Same as Calc4, this time, we'll incorporate debugging support, plus error handling and reporting). 2014-04-09 08:34:57 +08:00
Joel de Guzman
e1dffe91c3 impemented rule %= operator 2014-04-08 11:30:13 +08:00
Joel de Guzman
92dfab37fa added offline error handling for rules 2014-04-07 15:26:12 +08:00
Joel de Guzman
16b894852a added actions test
added _fail context for forcing a faiked parse
2014-04-02 17:38:03 +08:00
Joel de Guzman
ceb4e05483 semantic actions with attributes only (no context) 2014-04-02 02:34:32 +08:00
Joel de Guzman
4a7cdc23e0 nullary semantic actions allowed 2014-04-02 02:04:41 +08:00
Joel de Guzman
7b0d142492 semantic actions with context only (no attributes) 2014-04-02 01:52:19 +08:00
Joel de Guzman
99337861f8 + Using -std=c++1y
+ Using polymorphic lambda on semantic actions
2014-04-01 18:54:33 +08:00
Joel de Guzman
23448524c7 Merge pull request #5 from redbaron/char-container-std-string
use std::string as a container for char
2014-04-01 10:53:55 +08:00
Joel de Guzman
df2e019830 Merge branch 'parse-into-fusion-map' of https://github.com/redbaron/spirit into redbaron-parse-into-fusion-map
Conflicts:
	test/Jamfile
2014-04-01 10:50:51 +08:00
Joel de Guzman
f6b78c4464 Merge branch 'lit-leaks-attribute' of https://github.com/redbaron/spirit into redbaron-lit-leaks-attribute
Conflicts:
	test/Jamfile
	test/x3/sequence.cpp
2014-04-01 10:47:57 +08:00
Joel de Guzman
5e1c8a2dd8 Merge pull request #8 from redbaron/fix-one-element-seq
Fix one element seq
2014-04-01 10:25:52 +08:00
Joel de Guzman
01608a1294 added missing unused.hpp file 2014-04-01 08:28:30 +08:00
Joel de Guzman
b23c6c741b Merge branch 'develop' 2014-04-01 08:21:32 +08:00
Joel de Guzman
5368c19e4c - fixed move_to handling when src and dest are the same
- added jamfile
2014-04-01 08:09:21 +08:00
Maxim Ivanov
6f5e169987 Move move_to condition to template
Even if branch is never taken it still must be compiled
properly, which can cause compile errors. Moving condition
to template eliminates branching.
2014-03-26 09:52:28 +00:00
Maxim Ivanov
8ea47e5025 Fix for the case when fusion assoc seq is on either side of seq 2014-03-26 09:52:28 +00:00
Maxim Ivanov
19d2da2f5b Support alternative over keys to be used as a key for fussion assoc
Adds support for parsers like:
auto key1 = lit("key1=") >> attr(key1());
auto key2 = lit("key2=") >> attr(key2());
auto value = int();
auto pair = key1|key2 >> value;

where attribute passed to pair.parse() is fusion associative sequence
2014-03-26 09:44:43 +00:00
Maxim Ivanov
bb16f871ae Merge branch 'fix-one-element-seq' into parse-into-fusion-map 2014-03-25 10:14:57 +00:00
Maxim Ivanov
58e177beb7 Support parsing into fusion adapted structs 2014-03-25 10:14:46 +00:00
Maxim Ivanov
2f1659413b Fix for sequences with only one element producing attr
If in a sequence only one element produces attribute, then make whole
sequence to produce that attribute,rather than wrapping it into
fusion::deque. Not doing so breaks alternative<> parser, when such
sequences are on left and right side of it, because it then generates
variant attribute over fusion:deque<> attributes, which is not
what it is supposed to do. Plus it breaks traits::move_to when both
source and destination are single element fusions sequences. Hence this
fix to put everything back to normal for this edge case.
2014-03-24 23:48:28 +00:00
Maxim Ivanov
641029c983 Avoid needless construction of sequence<> parser 2014-03-20 11:25:22 +00:00
Maxim Ivanov
b11cfb5bc5 Make it possible to parse 2 element sequences directly into fusion map
If parser produces 2 element tuple, then fusion::map can be passed
as an attribute to it. Type of first element in produces tuple is used
as a key and second element is a value stored in map.

Few notes how does it work:
- parsing to fusion::map is treated as parsing to container
- special parse_into_container logic call's parser with it's native
  attribute type (fusion::deque<> for sequences) and then updates
  fusion::map with values from it.
2014-03-20 11:25:22 +00:00
Joel de Guzman
af07ca7300 Merge branch 'origin/develop' 2014-03-20 12:34:15 +08:00
Maxim Ivanov
34ff12be41 unify built container for single element fusion::deque
continue to reduce variety of containers floating inside instantiated
templates.
2014-03-19 23:33:46 +00:00
Maxim Ivanov
676f1f882a make x3::omit[] fail at compile time if it is called with non-unused_type attr
It should never be called with anything but unused_type attribute
anyway, but if something did it due to error it is better to be safe and
fail at compile time rather than unexpectedly  update attribute, which
could lead to hard to detect errors.
2014-03-19 22:53:48 +00:00
Maxim Ivanov
4f97aa987c stop x3::lit from updating passed container 2014-03-19 22:34:31 +00:00
Maxim Ivanov
84c0c07546 use std::string as a container for char
That is what normally users would pass, so in some situations it
can avoid copying data.
2014-03-19 19:39:13 +00:00
Maxim Ivanov
2d862e1d8d Fix for parsing sequences with x3::unused attribute 2014-03-18 18:21:40 +00:00
Joel de Guzman
0262419033 fixed wrong include guard 2014-03-18 11:33:10 +08:00
Joel de Guzman
8a35332835 Merging Spirit x3 into devel 2014-03-18 11:06:19 +08:00
Joel de Guzman
c2c8d6ace2 moving headers to include to mimic modular boost structure 2014-03-18 10:30:47 +08:00
Yuri Khan
bdf4fd8d28 Fix attribute_size<optional<T> > 2014-03-03 15:19:12 +07:00
K-ballo
76f65843ce Added changes needed by resolution of #7730 2014-02-20 20:04:28 -06:00
Joel de Guzman
5df5b42f7c merging from develop 2014-01-22 22:33:33 +08:00
Joel de Guzman
ca8ca3c729 Merge branch 'develop'
Conflicts:
	doc/what_s_new.qbk
	example/qi/compiler_tutorial/Jamfile
	example/qi/compiler_tutorial/conjure2/error_handler.hpp
	example/qi/typeof.cpp
	include/boost/spirit/home/karma/detail/pass_container.hpp
	include/boost/spirit/home/karma/nonterminal/rule.hpp
	include/boost/spirit/home/karma/operator/alternative.hpp
	include/boost/spirit/home/karma/operator/sequence.hpp
	include/boost/spirit/home/karma/string/symbols.hpp
	include/boost/spirit/home/lex/lexer/lexer.hpp
	include/boost/spirit/home/lex/lexer/support_functions.hpp
	include/boost/spirit/home/lex/qi/plain_tokenid.hpp
	include/boost/spirit/home/qi/copy.hpp
	include/boost/spirit/home/qi/nonterminal/rule.hpp
	include/boost/spirit/home/qi/stream/stream.hpp
	include/boost/spirit/home/qi/string/symbols.hpp
	include/boost/spirit/home/support/attributes.hpp
	include/boost/spirit/home/support/auto.hpp
	include/boost/spirit/home/support/extended_variant.hpp
	include/boost/spirit/home/support/info.hpp
	include/boost/spirit/repository/home/qi/directive/kwd.hpp
	include/boost/spirit/repository/home/qi/operator/detail/keywords.hpp
	repository/test/qi/keywords.cpp
	test/karma/regression_container_variant_sequence.cpp
2014-01-22 22:18:57 +08:00
Joel de Guzman
1d9633a9c9 Support for BOOST_SPIRIT_AUTO and qi::copy.
[SVN r76928]
2014-01-22 21:30:28 +08:00
Joel de Guzman
cf9db449ce Fixed problem with handling BOOST_FUSION_ADAPT_ADT
[SVN r74291]
Applied patch (ticket 5716)
https://svn.boost.org/trac/boost/attachment/ticket/5716/spirit_wide_what.patch

[SVN r74292]
Reverting patch. The tests are broken with the patch!

[SVN r74293]
Fix Ticket #5867

[SVN r74299]
- using LLVM 2.9 release
- added bjam for msvc

[SVN r74310]
Fix Ticket #5867

[SVN r74323]
adding the target location in the project requirements to generate the exe in the same directory.

[SVN r74324]
Added explicit qualification for ref to avoid conflict with std::ref

[SVN r74413]
seek directive by TONGARI

[SVN r74796]
Preparing docs for release

[SVN r74709]
seek directive by TONGARI

[SVN r74797]
Adding safe-guards

[SVN r74831]
typo fix

[SVN r74837]
Spirit: Removing bogus static_assert

[SVN r74838]
Added rvalue support for rule %=

[SVN r74876]
Added rvalue support for rule %=

[SVN r74877]
Added rvalue support for rule %=

[SVN r74878]
Spirit: adding rvalue reference overload for lexer::operator+=(), fixes regressions caused by recent proto changes

[SVN r74892]
Added rvalue support for symbols %=

[SVN r74905]
Added rvalue support for symbols %=

[SVN r74906]
Replace spirit and phoenix documentation with a redirect.

[SVN r74983]
Spirit: applying Vitaly Budovski's patch adding binary floating point parsers and generators

[SVN r75105]
Docs for the seek directive

[SVN r75108]
Docs for the seek directive

[SVN r75321]
C++11 patches by Michel Morin

[SVN r75395]
Spirit: adding get<> overload to extended_variant

[SVN r75469]
+ more get overloads
+ returning references instead of values

[SVN r75484]
Spirit: fixing check for Boost version for endian, when will we finally get that library?

[SVN r75710]
added longest match test

[SVN r75735]
Spirit: fixed #6253: lex::lexertl::generate_static_dfa compiler errors if lexer has wchar_t as underlying stream type

[SVN r75910]
Spirit: making sure qi::attr is in the documentation index

[SVN r75916]
fixes Ticket #6259

[SVN r75931]
Spirit: fixed #6284: qi_parsers/numeric.htm documentation defects

[SVN r76022]
Spirit: disambiguate cref.

[SVN r76046]
Spirit: fixed spelling (fixed #6003: occured is spelled occurred)

[SVN r76152]
Spirit: fixed spelling (fixed #6003: occured is spelled occurred)

[SVN r76153]
Spirit: added a missing typename

[SVN r76194]
Spirit: improving error reporting from lexer tokens

[SVN r76248]
Spirit: fixing copy/paste error

[SVN r76284]
Spirit: fixing signed/unsigned mismatch warning

[SVN r76285]
Spirit: changing c-style cast to static_cast

[SVN r76289]
Spirit: Fixing problems in karma::center[] directive

[SVN r76381]
Spirit: fixed karma::subrule

[SVN r76382]
Spirit: fixed Karma examples

[SVN r76383]
Spirit: fixed #6368: [multi_pass] clear_queue isn't forwarded to the storage policy

[SVN r76384]
Spirit: updating docs

[SVN r76385]
Spirit: Fixed a problem in Karma when a variant holding a container was used as a generator inside a sequence.

[SVN r76462]
Removing deprecated headers

[SVN r77230]
Added note on the removal of deprecated headers.

[SVN r77243]
Fix: still no Boost.Endian available

[SVN r77400]
teajay's keyword patches

[SVN r77428]
fix for identifier rule not allowing identifiers that start with a keyword (e.g. fortify)

[SVN r77966]
Solving the darn endian problem in Spirit once and for all. I should have done this a long time ago.

[SVN r78156]
patches from teejay

[SVN r78313]
Whitespace should be + not *.

[SVN r78358]
Big fix allowing "script" greater that 63

[SVN r78524]
Missing `endsect` in spirit docs.

[SVN r78732]
Fixed wrong link

[SVN r78905]
Update classic spirit tests which use boost::TIME_UTC (now TIME_UTC_).

[SVN r79653]
Fixed char->char_type

[SVN r79764]
Fix #4372: spirit::info violates STL container requirements

[SVN r80121]
test overlapping symbols

[SVN r80800]
#7431 Warning fixes in spirit

[SVN r80815]
readding proper file structure

[SVN r81004]
Spirit: Fixing inspect problems

[SVN r81794]
Spirit: More inspect fixes

[SVN r81795]
Spirit: Fixing problem in result size computation for Karma sequence involving variants

[SVN r81896]
Spirit: another attempt to fix the sequence compilation problem in Karma when variants are involved

[SVN r81910]
Spirit: applying final patch for variant/sequence issue in Karma

[SVN r81917]
Spirit: adding missing 'const'

[SVN r81926]
Spirit: Adding proper return type handling to variant visitor

[SVN r81928]
Spirit: cleaning up visitor

[SVN r81929]
Spirit: made it finally compile again.

[SVN r81938]
Spirit: applying patch fixing qi::stream EOF behavior

[SVN r82078]
Spirit: fixing inspect errors

[SVN r82191]
Additional msvc warning removal

[SVN r82347]
Fix #7900: karma indirect_iterator returns reference to temporary

[SVN r82521]
Fix #8381: karma::uint_generator fails to compile in C++11 mode

[SVN r83776]
Spirit: making sure destructor of temporary stream is called in the right places

[SVN r83926]
Fix #8066: Conflict with Boost.Log on GCC 4.4

[SVN r84118]
Fix #8563: Compilation error with boost::spirit::lex::less actor

[SVN r84285]
Fixes #9027

[SVN r85415]
Spirit: Fixing clang regressions

[SVN r85421]
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]
Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION

Process #ifdef...#endif blocks.

[SVN r86243]
Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION

Process #ifndef...#else...#endif blocks.

[SVN r86245]
Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION

Process #ifdef...#else...#endif blocks.

[SVN r86246]
Restored check for unsupported compilers

[SVN r86387]
Add Boost.Build support for the Git modular layout, using links to to new header locations, thus preventing breakage to vast amounts of user code and build setups. Being added to SVN so that changes will automatically propagate to Git and modular Boost. Thanks to Steven Watanabe, Jürgen Hunold, Vladimir Prus, and Bjørn Roald for developing this patch. Steven in particular conceived the approach and did the initial implementation, which was further refined by the other contributors.

[SVN r86392]
Removing phoenix-2 for good ( good bye I will miss you )
2014-01-22 20:54:33 +08:00
K-ballo
f14c110dd0 More work for supporting new boost::variant interface 2014-01-21 19:08:26 -06:00
Jürgen Hunold
7a21658eaf use BOOST_VARIANT_DO_NOT_USE_VARIADIC_TEMPLATES to select variadic macro support code 2014-01-21 19:08:25 -06:00
K-ballo
f86068f830 Fixed #9238: BOOST_VARIANT_USE_VARIADIC_TEMPLATES support 2014-01-18 14:15:14 -06:00
K-ballo
1470417fa4 Fixed issue with EOF in stream parser 2013-12-14 21:55:33 -06:00
K-ballo
c7983a0b28 Fixed issue with mutable applied to references in pass_container 2013-12-14 14:08:24 -06:00
Joel de Guzman
c0537c8251 Removing phoenix-2 for good ( good bye I will miss you ) 2013-12-14 09:52:07 +08:00
Agustín K-ballo Bergé
c1597829ba Restored check for unsupported compilers
[SVN r86387]
2013-10-22 00:10:55 +00:00
Andrey Semashev
57c788714e Fixed missing #includes that broke Boost.Log compilation.
[SVN r86331]
2013-10-16 14:49:13 +00:00
Hartmut Kaiser
de26ca955c Merging from trunk
[SVN r86266]
2013-10-12 17:46:00 +00:00
Stephen Kelly
17c6d9d699 Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
Process #ifdef...#else...#endif blocks.

[SVN r86246]
2013-10-11 23:19:17 +00:00
Stephen Kelly
b5d0c2f3c9 Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
Process #ifndef...#else...#endif blocks.

[SVN r86245]
2013-10-11 23:17:48 +00:00
Stephen Kelly
d16398ac3b Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
Process #ifdef...#endif blocks.

[SVN r86243]
2013-10-11 23:13:10 +00:00
Stephen Kelly
f936e6710f Spirit: Remove obsolete GCC version checks.
[SVN r86061]
2013-09-30 15:56:04 +00:00
Stephen Kelly
3807071c42 Spirit: Remove obsolete MSVC version check.
[SVN r86034]
2013-09-30 00:20:31 +00:00
Stephen Kelly
39dd7666e7 Remove obsolete MSVC check from pragma guard
git grep -h -B1 "^#\s*pragma once" | grep -v pragma | sort | uniq

is now clean.

[SVN r85952]
2013-09-26 13:02:51 +00:00
Agustín K-ballo Bergé
1247e4b4a6 Silence int to bool conversion warnings
[SVN r85924]
2013-09-26 00:16:19 +00:00
Stephen Kelly
c33e14c4e7 Spirit: Remove obsolete MSVC version checks
[SVN r85906]
2013-09-25 13:53:02 +00:00
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