Commit Graph

2382 Commits

Author SHA1 Message Date
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
Hartmut Kaiser
d8cb131ac8 Spirit: fixed alternatives for embedded containers of hold_any
[SVN r58074]
2009-12-01 02:36:01 +00:00
Hartmut Kaiser
69a40068b7 Spirit: tweaking auto_
[SVN r58057]
2009-11-30 14:24:13 +00:00
Hartmut Kaiser
2dd5214c40 Spirit: tweaks for auto_
[SVN r58049]
2009-11-30 00:38:32 +00:00
Hartmut Kaiser
89e565c201 Spirit: fixes to karma::auto_, added qi::auto_
[SVN r58047]
2009-11-29 23:30:14 +00:00
Hartmut Kaiser
5cbb65212e Spirit: formatting, typos, etc.
[SVN r58043]
2009-11-29 21:29:04 +00:00
Hartmut Kaiser
e14e494d1f Spirit: added karma::auto_ and related facilities
[SVN r58041]
2009-11-29 21:27:42 +00:00
Hartmut Kaiser
61e4a7f031 Spirit: removed UB in rule and token_def initialization, added copy constructor for token_def
[SVN r57986]
2009-11-27 22:28:35 +00:00
Hartmut Kaiser
b0b24a338c Spirit: added karma::symbols generator
[SVN r57973]
2009-11-27 19:06:50 +00:00
Hartmut Kaiser
8adf0a1340 Spirit: Moving karma::symbols to main code base
[SVN r57933]
2009-11-26 00:08:40 +00:00
Hartmut Kaiser
aa0c101148 Spirit: reverted latest change
[SVN r57929]
2009-11-25 23:16:23 +00:00
Hartmut Kaiser
86ea9bbc03 Spirit: fixed token_def::what()
[SVN r57906]
2009-11-24 20:58:05 +00:00
Hartmut Kaiser
f4afa02a8c Spirit: added specializations for the push_back CP for optional attribute values
[SVN r57904]
2009-11-24 20:56:31 +00:00
Hartmut Kaiser
8bc7816380 Spirit: added repository::karma::symbols generator
[SVN r57876]
2009-11-23 23:35:38 +00:00
Hartmut Kaiser
40b9f1c287 Spirit: endian library is still not in SVN...
[SVN r57875]
2009-11-23 23:29:59 +00:00
Hartmut Kaiser
3cf0a7c5bc Spirit: moved iter_pos parser to repository
[SVN r57870]
2009-11-23 18:42:21 +00:00
Hartmut Kaiser
19c3f47d84 Spirit: doc updates
[SVN r57758]
2009-11-18 20:34:57 +00:00
Hartmut Kaiser
d39332da0f Spirit: bumped version number after the release of 1.41
[SVN r57757]
2009-11-18 20:34:05 +00:00
Daniel James
9a599c07fd Implement prefix_find.
[SVN r57730]
2009-11-17 20:26:15 +00:00
Daniel James
8d0e234b86 Don't match substrings in symbols::find.
[SVN r57718]
2009-11-16 23:56:20 +00:00
Hartmut Kaiser
84649a2fd8 Spirit: silencing more unused warnings
[SVN r57704]
2009-11-16 12:26:51 +00:00
Hartmut Kaiser
858789a0fe Phoenix: silenced a warning
[SVN r57703]
2009-11-16 12:24:09 +00:00
Hartmut Kaiser
7018067005 Spirit: more static lexer updates
[SVN r57633]
2009-11-13 14:05:33 +00:00
Hartmut Kaiser
b0169af4e9 Spirit: updating static lexer support
[SVN r57582]
2009-11-11 21:29:20 +00:00
Hartmut Kaiser
8f4ae0334e Spirit: updating static lexer support
[SVN r57566]
2009-11-11 14:57:04 +00:00
Hartmut Kaiser
25e382baf8 Spirit: re-added missing file
[SVN r57562]
2009-11-11 03:56:11 +00:00
Hartmut Kaiser
8dca3d77fc Spirit: started to integrate re2c style code generator for lexer
[SVN r57561]
2009-11-11 03:55:34 +00:00
Hartmut Kaiser
149de2b9ee Spirit: fixing inconsistency resulting from merge error
[SVN r57543]
2009-11-10 14:44:39 +00:00
Hartmut Kaiser
dc15147341 Spirit: merging latest changes from trunk
[SVN r57534]
2009-11-10 02:40:35 +00:00
Hartmut Kaiser
b10d055cb4 Spirit: fixing one more warning
[SVN r57530]
2009-11-10 02:01:13 +00:00
Hartmut Kaiser
b7937593ef Spirit: implemented forward iterator support for lexer
[SVN r57529]
2009-11-10 02:00:27 +00:00
Daniel James
02ff0bf2cc Fix a few gcc warnings. Still some long long constant warnings and an integer overflow warning.
[SVN r57524]
2009-11-09 19:46:09 +00:00
Hartmut Kaiser
b414b27884 Spirit: added missing headers
[SVN r57511]
2009-11-09 13:36:42 +00:00
Hartmut Kaiser
3ac24153b7 Spirit: silencing MSVC warnings
[SVN r57504]
2009-11-09 04:01:15 +00:00
Hartmut Kaiser
420102b03a Phoenix: silenced a couple of MSVC warnings created during Spirit test runs
[SVN r57503]
2009-11-09 03:58:27 +00:00
Hartmut Kaiser
d26bada1bf Spirit: merging fixes for warnings and missing header #include's from trunk
[SVN r57475]
2009-11-07 23:14:31 +00:00
Hartmut Kaiser
69cc537038 Spirit: fixing more warnings
[SVN r57469]
2009-11-07 22:35:52 +00:00
Hartmut Kaiser
75acbbef43 Spirit: adding missing header #include's
[SVN r57455]
2009-11-07 16:48:46 +00:00
Hartmut Kaiser
e14f3c8faa Spirit: adding missing header #include's
[SVN r57454]
2009-11-07 16:45:58 +00:00
Hartmut Kaiser
538f78cba9 Spirit: removing superfluous header
[SVN r57453]
2009-11-07 16:35:27 +00:00
Hartmut Kaiser
369ba28e4e Spirit: workarounds for Intel compiler deficits
[SVN r57452]
2009-11-07 15:45:01 +00:00
Hartmut Kaiser
b3024555b3 Spirit: merging fixes from trunk
[SVN r57447]
2009-11-07 14:22:39 +00:00
Hartmut Kaiser
b05fe26fae Spirit: fixing bug in alternatives taking optionals
[SVN r57435]
2009-11-06 14:40:18 +00:00
Hartmut Kaiser
63ac9c4bb0 Spirit: merging fixes for warnings and docs from trunk
[SVN r57418]
2009-11-05 18:15:31 +00:00
Hartmut Kaiser
6ef24854d0 Spirit: removed superfluous semicolons
[SVN r57416]
2009-11-05 17:51:14 +00:00
Hartmut Kaiser
d0a1718f17 Spirit: replaced long long by boost::long_long_type
[SVN r57415]
2009-11-05 17:50:26 +00:00
Hartmut Kaiser
4c2546b09b Spirit: silence another gcc warning
[SVN r57409]
2009-11-05 15:53:04 +00:00
Joel de Guzman
e6a104c824 symbols fix from Daniel James
[SVN r57402]
2009-11-05 07:34:40 +00:00
Hartmut Kaiser
7c838823cd Spirit: reverting latest change to semantics of tokenize_and_parse at.al.
[SVN r57306]
2009-11-03 14:11:38 +00:00
Hartmut Kaiser
fc36606d1d Spirit: fixing usage of plain functions as lexer semantic actions
[SVN r57298]
2009-11-03 01:53:46 +00:00
Hartmut Kaiser
7b7546635d Spirit: added missing header file
[SVN r57291]
2009-11-02 17:20:18 +00:00
Hartmut Kaiser
02372c2d0f Spirit: fixing lex::tokenize_and_parse functions
[SVN r57277]
2009-11-01 17:50:36 +00:00
Hartmut Kaiser
a24c7e961d Spirit: merging pending doc changes
[SVN r57236]
2009-10-29 19:39:13 +00:00
Hartmut Kaiser
f691c3186f Spirit: fixing header inconsistencies
[SVN r57232]
2009-10-29 17:57:54 +00:00
Hartmut Kaiser
2c00ea43ca Spirit: added missing header files
[SVN r57228]
2009-10-29 16:19:57 +00:00
Hartmut Kaiser
22af1b3dc1 Spirit: merging from trunk
[SVN r57201]
2009-10-28 21:06:28 +00:00
Hartmut Kaiser
4135ce0830 Spirit: minor edits
[SVN r57199]
2009-10-28 20:57:50 +00:00
Hartmut Kaiser
6ac90f88f1 Spirit: added missing files
[SVN r57198]
2009-10-28 20:57:13 +00:00
Joel de Guzman
ec46ef6e8a missing include
[SVN r57166]
2009-10-27 07:06:01 +00:00
Hartmut Kaiser
b38d18fc1d Spirit: merging latest bug fixes from trunk
[SVN r57164]
2009-10-27 00:41:58 +00:00
Hartmut Kaiser
d148026c49 Spirit: fixed karma alternative handling
[SVN r57142]
2009-10-24 22:36:08 +00:00
Hartmut Kaiser
86f19391c0 Spirit: Karma alternative fix
[SVN r57128]
2009-10-24 14:09:03 +00:00
Hartmut Kaiser
a0840c4bea Spirit: more work on attribute traits, allowing optional for alternatives, maxwidth supports extracting overhang
[SVN r57122]
2009-10-24 03:03:23 +00:00
Hartmut Kaiser
2d772208d3 Phoenix: disambiguating addressof for vc10 (merging from trunk)
[SVN r57121]
2009-10-24 02:55:08 +00:00
Hartmut Kaiser
8ef487246e Phoenix: disambiguating addressof for vc10
[SVN r57120]
2009-10-24 02:52:51 +00:00
Joel de Guzman
77c253a8cb alternatives with optional attributes
[SVN r57106]
2009-10-23 16:27:42 +00:00
Joel de Guzman
e1b33260ea alternatives with optional attributes
[SVN r57104]
2009-10-23 15:58:31 +00:00
Hartmut Kaiser
79e1a894e2 Spirit: added missing header file (merged from trunk)
[SVN r57015]
2009-10-20 14:26:29 +00:00
Hartmut Kaiser
483f1fef25 Spirit: added missing header file
[SVN r57014]
2009-10-20 14:24:27 +00:00
Hartmut Kaiser
435a4ed262 Spirit: fixing compiler versioning problem (merging from trunk)
[SVN r57011]
2009-10-20 12:18:06 +00:00
Hartmut Kaiser
2f3a66ee30 Spirit: fixing compiler versioning problem
[SVN r57010]
2009-10-20 12:16:06 +00:00
Hartmut Kaiser
e7463ecaea Spirit: removed undefined behavior in grammar initialization (merging from trunk)
[SVN r57000]
2009-10-19 17:08:46 +00:00
Hartmut Kaiser
51c266f33f Spirit: removed undefined behavior in grammar initialization
[SVN r56999]
2009-10-19 17:05:25 +00:00
Hartmut Kaiser
9e60b7e5a4 Spirit: merging latest fix from trunk
[SVN r56914]
2009-10-16 12:58:43 +00:00
Hartmut Kaiser
29ee178dc0 Spirit: fixing endianess/truncation problem in Karma's output iterator
[SVN r56913]
2009-10-16 12:57:32 +00:00
Hartmut Kaiser
f94ff71b8d Spirit: fixing endianess/truncation problem in Karma|s output iterator
[SVN r56912]
2009-10-16 12:54:12 +00:00
Hartmut Kaiser
6630b541e9 Spirit: merging remaining workarounds for VC7.1 from trunk
[SVN r56853]
2009-10-14 21:41:44 +00:00
Hartmut Kaiser
ace9399752 Spirit: more workarounds for VC7.1
[SVN r56851]
2009-10-14 21:09:16 +00:00
Hartmut Kaiser
1ed5ff553e Spirit: merging fixes related to VC7.1 from trunk
[SVN r56842]
2009-10-14 19:14:36 +00:00
Hartmut Kaiser
9a1d6bd15f Spirit: fixing workarounds for VC7.1
[SVN r56841]
2009-10-14 19:06:18 +00:00
Hartmut Kaiser
a89a23d631 Spirit: removing more remnants of safe_bool
[SVN r56840]
2009-10-14 18:47:29 +00:00
Hartmut Kaiser
678312fe9f Spirit: removing remnants of safe_bool
[SVN r56839]
2009-10-14 18:45:59 +00:00
Hartmut Kaiser
36b4edd277 Spirit: more fixes related to VC7.1
[SVN r56838]
2009-10-14 18:31:15 +00:00
Hartmut Kaiser
0e4decca44 Spirit: fixing some VC7.1 specific issues
[SVN r56834]
2009-10-14 16:57:43 +00:00
Hartmut Kaiser
ec8146bb1f Spirit: merging pending changes from trunk
[SVN r56800]
2009-10-13 19:59:38 +00:00
Hartmut Kaiser
88239ed2ec Spirit: merging bug fixes from trunk
[SVN r56745]
2009-10-12 16:45:26 +00:00
Hartmut Kaiser
4690f0afef Spirit: merging bug fix related to handling of optionals from trunk
[SVN r56744]
2009-10-12 16:40:04 +00:00
Hartmut Kaiser
6b8f75b45e Spirit: added missing specialization to transform_attribute. Fixed qi::subrule to use this
[SVN r56743]
2009-10-12 16:34:25 +00:00
Hartmut Kaiser
e409915da9 Spirit: added missing specialization to transform_attribute.
[SVN r56742]
2009-10-12 16:33:33 +00:00
Hartmut Kaiser
4de009a15d Spirit: minor edit, removed superfluous parameter
[SVN r56706]
2009-10-10 15:29:44 +00:00
Hartmut Kaiser
e42518773d Spirit: improved fix for re-initialization of optionals
[SVN r56703]
2009-10-10 15:08:27 +00:00
Hartmut Kaiser
d21db60a94 Spirit: fixing re-initialization problem for optional attributes
[SVN r56701]
2009-10-10 14:41:49 +00:00
Hartmut Kaiser
ef87e4dc4d Spirit: reverting change for alternative parsers
[SVN r56685]
2009-10-09 23:58:22 +00:00
Hartmut Kaiser
9893b2b041 Spirit: finalized bool parsers, added true_ and false_ parsers and generators (merging from trunk)
[SVN r56680]
2009-10-09 17:32:51 +00:00
Hartmut Kaiser
0dc7d93b35 Spirit: finalized bool parsers, added true_ and false_ parsers and generators
[SVN r56677]
2009-10-09 15:55:22 +00:00
Hartmut Kaiser
1d5f7e118a Spirit: merged latest sequence fix to release branch
[SVN r56664]
2009-10-09 00:53:21 +00:00
Hartmut Kaiser
c79b5588d8 Spirit: fixing special case for sequences
[SVN r56662]
2009-10-09 00:32:55 +00:00
Hartmut Kaiser
091b0ed76e Added missing file.
[SVN r56641]
2009-10-08 00:51:32 +00:00
Hartmut Kaiser
c381914779 Spirit: removing features not to be meant to be released yet.
[SVN r56640]
2009-10-08 00:50:02 +00:00
Hartmut Kaiser
dfda2b8f9d Spirit: disable Phoenix attributes for V2.1
[SVN r56635]
2009-10-07 17:12:39 +00:00
Hartmut Kaiser
8afe9c87c0 Spirit: fixing subrules after recent changes to customization points
[SVN r56632]
2009-10-07 13:32:20 +00:00
Hartmut Kaiser
5733075ba8 Spirit: merging from trunk
[SVN r56628]
2009-10-06 23:57:14 +00:00
Hartmut Kaiser
a485f0966a Spirit: fixing duplicate attr_cast definition
[SVN r56613]
2009-10-05 22:48:11 +00:00
Hartmut Kaiser
e9e2c672f0 Spirit: cosmetic changes, comment fixes, etc.
[SVN r56597]
2009-10-05 16:17:56 +00:00
Hartmut Kaiser
1df8bbd197 Spirit: finalizing transform_attribute for rules, renamed is_not_unused to not_is_unused
[SVN r56591]
2009-10-05 11:45:58 +00:00
Hartmut Kaiser
dba475bed5 Spirit: using customization point (assign_to) for attribute assignment
[SVN r56583]
2009-10-04 22:22:25 +00:00
Hartmut Kaiser
c2fd1a764f Spirit: fixing transform_attribute::post for the generic case
[SVN r56581]
2009-10-04 21:19:12 +00:00
Hartmut Kaiser
f3d6c29211 Spirit: rule's have intrinsic attribute transformation now
[SVN r56579]
2009-10-04 20:37:25 +00:00
Joel de Guzman
c8686c5842 Tweaks for recursive_wrapper
[SVN r56566]
2009-10-04 05:07:07 +00:00
Joel de Guzman
dabc3bc30f fixed alternative attribute handling
[SVN r56564]
2009-10-04 04:00:33 +00:00
Hartmut Kaiser
f7f83bc977 Spirit: more clean up of attribute customization points
[SVN r56536]
2009-10-02 22:01:09 +00:00
Hartmut Kaiser
9e5303934c Spirit: restructured customization points, added qi::attr_cast, added phoenix expression support for Karma attributes
[SVN r56533]
2009-10-02 21:18:41 +00:00
Hartmut Kaiser
a410af2e19 Spirit: fixed a problem in Qi int_extractor, now uses assign_to customization point
[SVN r56527]
2009-10-02 19:20:46 +00:00
Hartmut Kaiser
8e84d791f0 Spirit: fixed a problem in Qi real_impl, now uses assign_to customization point
[SVN r56526]
2009-10-02 19:16:51 +00:00
Hartmut Kaiser
3bebc70283 Spirit: fixed a problem in Qi real_impl preventing to use an integral type as an attribute to a floating point parser.
[SVN r56525]
2009-10-02 18:32:58 +00:00
Joel de Guzman
c724c0995f kleene, plus and repeat attribute customization points.
[SVN r56509]
2009-10-02 09:04:57 +00:00
Hartmut Kaiser
3a861507ef Spirit: fixed Karma repeating operators and directives to account for failing subjects
[SVN r56475]
2009-09-29 16:58:03 +00:00
Hartmut Kaiser
20d8080af4 Spirit: added qi::bool_
[SVN r56471]
2009-09-29 14:30:54 +00:00
Hartmut Kaiser
8ff55f9cb9 Spirit: added karma attr_cast
[SVN r56465]
2009-09-29 01:26:13 +00:00
Hartmut Kaiser
91a4a5f061 Spirit: refined bool_policies
[SVN r56464]
2009-09-29 01:25:37 +00:00
Hartmut Kaiser
039069a418 Spirit: consolidated stateful tag support
[SVN r56462]
2009-09-28 23:45:52 +00:00
Hartmut Kaiser
5afc95c6fb Spirit: added bool_ generators
[SVN r56459]
2009-09-28 20:52:07 +00:00
Hartmut Kaiser
86a092a385 Spirit: doc additions from Andreas
[SVN r56453]
2009-09-28 12:33:16 +00:00
Hartmut Kaiser
44bf620e5b Spirit: reverted change to behavior of the Qi Kleene star
[SVN r56451]
2009-09-28 11:38:34 +00:00
Hartmut Kaiser
c9ce1adaf0 Spirit: added simple token printer for parser trace output
[SVN r56446]
2009-09-27 21:09:19 +00:00
Hartmut Kaiser
4004c77a49 Spirit: started to add attribute transformation capabilities
[SVN r56386]
2009-09-26 16:23:11 +00:00
Hartmut Kaiser
b9df06aae8 Spirit: fixed infinite loop if a Kleene is used inside another Kleene at end of input
[SVN r56355]
2009-09-22 17:07:10 +00:00
Hartmut Kaiser
ba1ea3327e Spirit: silencing a warning
[SVN r56343]
2009-09-21 17:54:33 +00:00
Hartmut Kaiser
dcce737f3e Spirit: cleaning up superfluous template declarations
[SVN r56341]
2009-09-21 17:23:55 +00:00
Hartmut Kaiser
f88f503335 Spirit: fixed msvc warning
[SVN r56337]
2009-09-21 15:16:20 +00:00
Hartmut Kaiser
e0e3b69c81 Spirit: added new semantics for rule::operator=, now figures out on its own whether to apply auto attribute behavior
[SVN r56336]
2009-09-21 14:11:56 +00:00
Hartmut Kaiser
5d032a9cd4 Spirit: fixed gcc compilation errors
[SVN r56265]
2009-09-17 11:32:40 +00:00
Hartmut Kaiser
4aa8644bb4 Spirit: added optimization avoiding call to ischar() if not necessary
[SVN r56259]
2009-09-17 03:37:33 +00:00
Hartmut Kaiser
6e3b5dfa6b Spirit: fixed yet another warning
[SVN r56257]
2009-09-17 01:52:37 +00:00
Hartmut Kaiser
bf4144d3eb Spirit: fixed a character size mismatch revealed while parsing based on tokens
[SVN r56256]
2009-09-17 01:49:18 +00:00
Hartmut Kaiser
f8b1662b97 Spirit: added missing #include's
[SVN r56254]
2009-09-17 01:39:48 +00:00
Hartmut Kaiser
be60870df0 Spirit: fixed a couple of warnings
[SVN r56253]
2009-09-17 01:39:06 +00:00
Hartmut Kaiser
d8885cd3ee Spirit: fixed a warning about signed/unsigned mismatch
[SVN r56245]
2009-09-16 19:06:33 +00:00
Hartmut Kaiser
10944e657e Spirit: imported spirit::standard namespace into spirit::qi and spirit::karma
[SVN r56244]
2009-09-16 17:46:46 +00:00
Hartmut Kaiser
3d30e80e60 Spirit: adding missing #include's
[SVN r56220]
2009-09-15 17:42:50 +00:00
Hartmut Kaiser
05fb4ea850 Spirit: unified handling of optional values
[SVN r56219]
2009-09-15 17:07:33 +00:00
Hartmut Kaiser
682e47cdc1 Spirit: all generators now accept a boost::optional holding the attribute and will fail if this is not initialized.
[SVN r56217]
2009-09-15 16:59:15 +00:00
Hartmut Kaiser
29401380c9 Spirit: fixing segfault if start rule of a grammar is not compatible with the grammar itself
[SVN r56213]
2009-09-15 12:18:11 +00:00
Hartmut Kaiser
05dd702b5f Spirit: merging V2.1 from trunk
[SVN r56189]
2009-09-14 16:50:29 +00:00
Hartmut Kaiser
702cf70765 Spirit: added missing files, minor fixes
[SVN r56175]
2009-09-13 16:10:43 +00:00
Hartmut Kaiser
485471b755 Spirit: added static lexer version verifying compatibility with generated tables
[SVN r56143]
2009-09-11 01:28:41 +00:00
Hartmut Kaiser
4fdc0e94fe Spirit: fixing lexer issue inhibiting usage of more than one instance of a static lexer
[SVN r56142]
2009-09-10 18:38:19 +00:00
Hartmut Kaiser
692a0202ac Spirit: spell fix in one of the comments
[SVN r56137]
2009-09-10 15:20:33 +00:00
Hartmut Kaiser
8217c199d7 Spirit: Added default template type for stream_generator
[SVN r56134]
2009-09-10 12:27:27 +00:00
Hartmut Kaiser
e4b56247be Spirit: added a missing #include
[SVN r56106]
2009-09-08 14:08:26 +00:00
Hartmut Kaiser
f25ab0d9a0 Spirit: fixing missing typedef
[SVN r56105]
2009-09-08 12:49:08 +00:00
Hartmut Kaiser
c0df218d30 Spirit: fixing C++0x compilation issues
[SVN r56102]
2009-09-08 02:34:32 +00:00
Hartmut Kaiser
301daec6a6 Spirit: added missing file
[SVN r56101]
2009-09-08 02:17:19 +00:00
Hartmut Kaiser
34fab01732 Spirit: Added character generator negation (unary '~' for character generators)
[SVN r56100]
2009-09-08 02:16:31 +00:00
Hartmut Kaiser
dff4ca36b5 Spirit: disambiguated lex::omit
[SVN r56096]
2009-09-07 22:24:33 +00:00
Hartmut Kaiser
1dc7ef4bd5 Spirit: removed lex::omitted in favor of lex::omit, fixed missing piece
[SVN r56094]
2009-09-07 21:06:57 +00:00
Hartmut Kaiser
bcf726a9ab Spirit: removed lex::omitted in favor of lex::omit
[SVN r56087]
2009-09-07 14:44:19 +00:00
Hartmut Kaiser
a287dd49b7 Spirit: removed lex::omitted in favor of lex::omit
[SVN r56086]
2009-09-07 14:39:25 +00:00
Hartmut Kaiser
ab72b0e698 Spirit: Unified semantics of tokenize_and_parse functions
[SVN r56085]
2009-09-07 13:52:28 +00:00
François Barel
01bdcfa11b Spirit: support use with 1.40 release
[SVN r56060]
2009-09-06 09:57:37 +00:00
Joel de Guzman
75e17b1a60 fixed broken code
[SVN r56051]
2009-09-05 14:59:37 +00:00
Joel de Guzman
c4ad45b34d Revert broken.
[SVN r56050]
2009-09-05 13:41:14 +00:00
Joel de Guzman
8f0970b27c Minor tweaks
[SVN r56026]
2009-09-05 06:29:29 +00:00
François Barel
b9a9542dc5 Spirit: attempt to fix grammar test failure in C++0x mode
[SVN r56007]
2009-09-03 23:16:07 +00:00
François Barel
27b118ac04 Spirit: fix some C++0x failures (result_of requires operator())
[SVN r56004]
2009-09-03 22:23:37 +00:00
Hartmut Kaiser
1b66d9fa6c Spirit: allow for mpl::vector<> instead of mpl::vector0<>
[SVN r55973]
2009-09-02 09:57:03 +00:00
Joel de Guzman
1c6dc27da8 Hoist the char-class namespaces into qi (for usability)
correct concept class for attr

[SVN r55969]
2009-09-02 03:27:43 +00:00
Ben Hanson
20c1defded Bug fix for bol/eol flag setting.
[SVN r55920]
2009-08-31 15:17:45 +00:00
Hartmut Kaiser
b5f69ab6c0 Spirit: default parameters for custom generator specs, semantic changes to binary generators
[SVN r55904]
2009-08-31 11:29:29 +00:00
Hartmut Kaiser
1d4efd6408 Spirit: using endian from trunk starting with V1.42 only
[SVN r55903]
2009-08-31 11:21:17 +00:00
Ben Hanson
9b989b39db Prevent overflow in comparison.
[SVN r55829]
2009-08-28 08:10:38 +00:00
Hartmut Kaiser
14cf77b39f Spirit: fixed a problem in lexertl
[SVN r55781]
2009-08-25 22:06:50 +00:00
Hartmut Kaiser
68dabe14e0 Spirit: moved karma::ostream_iterator out of namespace detail to make it usable by user code
[SVN r55776]
2009-08-25 14:52:35 +00:00
Hartmut Kaiser
0ab6236c1e Spirit: Added karma::stream_generator
[SVN r55769]
2009-08-25 00:24:18 +00:00
Hartmut Kaiser
f327195279 Spirit: added missing file
[SVN r55740]
2009-08-23 20:14:30 +00:00
Hartmut Kaiser
18d630f665 Spirit: added missing files
[SVN r55657]
2009-08-18 20:21:58 +00:00
François Barel
b23061bbdb Spirit: add missing include
[SVN r55651]
2009-08-18 12:53:03 +00:00
Hartmut Kaiser
6c31bae93b Spirit: fixing multi_pass compiler errors on newer gcc compilers
[SVN r55646]
2009-08-18 02:44:07 +00:00
Hartmut Kaiser
0575017c03 Spirit: adding missing header files
[SVN r55616]
2009-08-16 22:52:36 +00:00
François Barel
6bc3972423 Spirit: make inherited attributes work with multiple subrules
[SVN r55613]
2009-08-16 13:43:12 +00:00
Hartmut Kaiser
c7415b284f Spirit: factored out floating point conversion into a separate header
[SVN r55594]
2009-08-14 22:27:52 +00:00
Hartmut Kaiser
6b0ac3b91d Spirit: working around a mac specific problem
[SVN r55593]
2009-08-14 22:26:41 +00:00
François Barel
42f4c32d5f Spirit: no longer tie subrules to a skipper/delimiter type
[SVN r55587]
2009-08-14 21:14:01 +00:00
Hartmut Kaiser
b1a3662c69 Spirit: adjustments to real_policies to accommodate more use cases
[SVN r55585]
2009-08-14 20:25:02 +00:00
François Barel
3c26f32f95 Spirit: adding Karma subrules to repository
[SVN r55583]
2009-08-14 16:39:56 +00:00
Hartmut Kaiser
f41ec2ca7c Spirit: minor adjustment to output_iterator
[SVN r55577]
2009-08-14 01:11:37 +00:00
Hartmut Kaiser
52de49f802 Spirit: trying to fix compilation problems with older versions of Boost while BOOST_SPIRIT_DEBUG is defined
[SVN r55576]
2009-08-14 00:53:25 +00:00
François Barel
6dfcc76349 Spirit: add missing includes
[SVN r55558]
2009-08-12 22:10:40 +00:00
François Barel
bf1b29133c Spirit: fix broken include guard
[SVN r55554]
2009-08-12 20:55:05 +00:00
François Barel
02f10baa50 Spirit: add missing includes
[SVN r55553]
2009-08-12 20:11:50 +00:00
Hartmut Kaiser
21656a326a Spirit: fixing gcc warnings
[SVN r55552]
2009-08-12 17:34:08 +00:00
François Barel
e082e14c35 Spirit: adding Qi subrules to repository
[SVN r55547]
2009-08-12 14:07:46 +00:00
François Barel
8173b6d632 Spirit: factor out common nonterminal stuff
[SVN r55545]
2009-08-12 13:06:44 +00:00
François Barel
5662bc0763 Spirit: add subject_type typedef to reference
[SVN r55544]
2009-08-12 12:41:33 +00:00
François Barel
3aa83f8370 Spirit: allow use of a derived context
[SVN r55543]
2009-08-12 12:39:48 +00:00
François Barel
6d7d0ec9dc Spirit: remove duplicate declarations
[SVN r55542]
2009-08-12 12:37:29 +00:00
Hartmut Kaiser
da31adf1c7 Spirit: added character range and character set generators
[SVN r55534]
2009-08-12 03:07:38 +00:00
François Barel
882db0f220 Spirit: fix gcc test failures when FP_NAN/FP_INFINITE are anonymous enums
[SVN r55532]
2009-08-11 20:36:43 +00:00
Hartmut Kaiser
6a2bc38282 Spirit: added Karma character class generators
[SVN r55516]
2009-08-11 00:55:21 +00:00
Hartmut Kaiser
94bda7ecbb Spirit: pending changes...
[SVN r55501]
2009-08-10 12:15:11 +00:00
Hartmut Kaiser
9175b4cc10 Spirit: changed semantics of karma::char_(), karma::string(), karma::int_() et.al., karma::double_() et.al.
Fixed attribute handling all over the place.

[SVN r55494]
2009-08-09 23:03:43 +00:00
Hartmut Kaiser
379c5bfc8f Spirit: added missing include's
[SVN r55480]
2009-08-08 23:21:22 +00:00
Hartmut Kaiser
e18a3edde1 Spirit: fixing return value semantics of karma::buffer[]
[SVN r55443]
2009-08-07 13:34:29 +00:00
François Barel
6c18538a3b Spirit: fix template parameter name
[SVN r55442]
2009-08-07 12:56:50 +00:00
Hartmut Kaiser
4087f8ab88 Spirit: reverted latest experimental change to optional
[SVN r55401]
2009-08-04 13:12:35 +00:00
Hartmut Kaiser
c029d5bd36 Spirit: karma optional now can be invoked with incompatible attribute types
[SVN r55389]
2009-08-03 15:54:02 +00:00
Hartmut Kaiser
2b8bafc1e6 Spirit: fixed karma alternative generator properties
[SVN r55388]
2009-08-03 15:48:33 +00:00
Hartmut Kaiser
15aed33df4 Spirit: added missing header file
[SVN r55387]
2009-08-03 15:47:54 +00:00
Hartmut Kaiser
c6b5c9eaf7 Spirit: added karma directive buffer[]
[SVN r55386]
2009-08-03 15:47:26 +00:00
Hartmut Kaiser
06b02458de Spirit: Minor edits, mostly fixing comments
[SVN r55385]
2009-08-03 15:46:45 +00:00
Hartmut Kaiser
3dbebcb8b5 Spirit: renamed traits::properties to traits::properties_of, added missing files
[SVN r55379]
2009-08-03 02:28:27 +00:00
Hartmut Kaiser
90fb37891f Spirit: fixed return value of the karma optional generator
[SVN r55373]
2009-08-02 21:57:34 +00:00
Hartmut Kaiser
3149dad176 Spirit: added missing header file
[SVN r55371]
2009-08-02 18:43:23 +00:00
Hartmut Kaiser
56ad36b551 Spirit: fixed semantics of self contained karma kleene/plus generators
[SVN r55368]
2009-08-02 18:14:01 +00:00
Hartmut Kaiser
bf9ee44e60 Spirit: minor comment fix
[SVN r55366]
2009-08-02 17:50:42 +00:00
Hartmut Kaiser
3bdd9eca8f Spirit: enabled special attribute handling for sequences if attribute is a fusion sequence and the sequence has exactly one element exposing an attribute
[SVN r55365]
2009-08-02 17:14:33 +00:00
Hartmut Kaiser
0e0c39460a Spirit: fixed an attribute propagation problem in the lex::state_switcher component
[SVN r55364]
2009-08-02 17:06:43 +00:00
Hartmut Kaiser
e458af7d84 Spirit: added missing header file
[SVN r55363]
2009-08-02 16:21:55 +00:00
Hartmut Kaiser
75b4f1df45 Spirit: added missing header file
[SVN r55347]
2009-08-01 22:13:17 +00:00
Hartmut Kaiser
23323b0f14 Spirit: added missing header files
[SVN r55346]
2009-08-01 20:59:25 +00:00
Hartmut Kaiser
f10d758b14 Spirit: added typedef for iterator_type to qi::rule and larma::rule
[SVN r55307]
2009-07-31 00:08:50 +00:00
Hartmut Kaiser
b2dc553f47 Spirit: add qi>>confix to repository, added missing headers files, restructured repository include directories
[SVN r55303]
2009-07-30 23:03:34 +00:00
Hartmut Kaiser
a4d1aeeb00 Spirit: simplified recent changes
[SVN r55261]
2009-07-29 13:50:08 +00:00
Hartmut Kaiser
351a5e5fb1 Spirit: added missing typenames
[SVN r55259]
2009-07-29 13:11:29 +00:00
Hartmut Kaiser
801270b727 Spirit: fixed return type for traits::deref(Iterator)
[SVN r55239]
2009-07-28 18:59:57 +00:00
Hartmut Kaiser
4d786f841d Spirit: added rule constructors allowing to directly initialize rules: rule<> r = ... (yay!), added proper initialization of attributes in looping parsers, fixed attribute passing for qi::rule's
[SVN r55235]
2009-07-28 17:34:13 +00:00
François Barel
dde9d13e4a Spirit: fix actions test failure on gcc-4.0.1
[SVN r55234]
2009-07-28 17:07:49 +00:00
François Barel
0bba567ba6 Spirit: avoid gcc warning
[SVN r55233]
2009-07-28 17:02:57 +00:00
Hartmut Kaiser
390abcebb0 Spirit: restored rule copy constructor
[SVN r55228]
2009-07-28 12:23:19 +00:00
Hartmut Kaiser
141df64db0 Spirit: fixing compilation issues
[SVN r55218]
2009-07-28 00:38:07 +00:00
Hartmut Kaiser
c091276a86 Spirit: unified #pragma once directive in all header files
[SVN r55217]
2009-07-27 23:45:39 +00:00
Hartmut Kaiser
ec6d3ff9ec Spirit: fixing compilation errors, changed metafunctions to use metafunction forwarding where possible
[SVN r55208]
2009-07-27 18:51:30 +00:00
François Barel
9047f577e5 Spirit: add missing include
[SVN r55191]
2009-07-26 21:24:16 +00:00
Hartmut Kaiser
c9fa48e775 Spirit: fixing karma::confix directive
[SVN r55166]
2009-07-26 01:11:24 +00:00
Hartmut Kaiser
981144705a Spirit: added qi::distinct to repository
[SVN r55165]
2009-07-26 01:10:49 +00:00
Hartmut Kaiser
650fe07e81 Spirit: factored out unused_skipper
[SVN r55164]
2009-07-26 01:09:56 +00:00
Hartmut Kaiser
5e887b8895 Spirit: fixing alignment directives
[SVN r55163]
2009-07-26 01:08:44 +00:00
Hartmut Kaiser
0883c073ef Spirit: fixing comments
[SVN r55162]
2009-07-26 01:07:47 +00:00
Hartmut Kaiser
d5f619740c Spirit: fixed problem in copy constructor of rules
[SVN r55161]
2009-07-26 01:07:01 +00:00
Hartmut Kaiser
bc31114ca4 Spirit: attr is not a primitive_parser, but only a parser
[SVN r55137]
2009-07-23 20:04:29 +00:00
Hartmut Kaiser
820e23f690 Spirit: Added a couple of missing #include's
[SVN r55131]
2009-07-23 16:02:52 +00:00
Hartmut Kaiser
6269ee194b Spirit: added attr() pseudo parser
[SVN r55127]
2009-07-23 15:54:19 +00:00
Joel de Guzman
1273f2ce7e remove const for container's value type
[SVN r55105]
2009-07-23 02:22:58 +00:00
Hartmut Kaiser
2fd38f6af0 Spirit: lists, kleene, plus, etc. now support any STL container (except map)
[SVN r55102]
2009-07-23 01:28:41 +00:00
Joel de Guzman
d78cd615b2 fix missing include
[SVN r55090]
2009-07-22 20:14:12 +00:00
François Barel
b5bf6f1d71 Spirit: merge r53759 from trunk (fix range_run test failures)
[SVN r55089]
2009-07-22 20:11:54 +00:00
Hartmut Kaiser
4f56833c80 Spirit: re-added lost comment about compilation errors on skipper incompatibility
[SVN r55073]
2009-07-21 17:48:39 +00:00
Hartmut Kaiser
71753f5b79 Spirit: Added output iterator composition
[SVN r55064]
2009-07-21 14:42:55 +00:00
Joel de Guzman
d44e36aa24 fix/optimize traits::clear
[SVN r55054]
2009-07-21 07:10:25 +00:00
Hartmut Kaiser
9201aa943b Spirit: fixed bogus assertion.
[SVN r55052]
2009-07-21 02:29:28 +00:00
Hartmut Kaiser
7479c27f55 Spirit: added missing base classes
[SVN r55051]
2009-07-21 00:23:35 +00:00
Hartmut Kaiser
2531e36330 Spirit: added karma::omit[] directive
[SVN r55046]
2009-07-20 15:37:09 +00:00
Hartmut Kaiser
115bc96d3c Spirit: fixing compiler and linker problems in attribute handling
[SVN r55040]
2009-07-20 03:04:22 +00:00
Hartmut Kaiser
77dabafaf1 Spirit: added missing inline
[SVN r55039]
2009-07-20 02:52:41 +00:00
Hartmut Kaiser
d79adb9db1 Spirit: commented work in progress
[SVN r55038]
2009-07-20 02:48:00 +00:00
Hartmut Kaiser
8ae3316215 Spirit: corrected base class types
[SVN r55037]
2009-07-20 02:44:49 +00:00
Hartmut Kaiser
e64396bcfc Spirit: added missing base classes
[SVN r55036]
2009-07-20 02:42:19 +00:00
Hartmut Kaiser
751147fbe9 Spirit: improving overall performance
[SVN r55034]
2009-07-20 02:38:27 +00:00
Hartmut Kaiser
49561e2a6f Spirit: minor performance tweaks
[SVN r55032]
2009-07-19 19:50:58 +00:00
Hartmut Kaiser
d09c47f66f Spirit: Moved buffering from sequences to alternatives, which makes more sense...
[SVN r55031]
2009-07-19 19:50:23 +00:00
Hartmut Kaiser
c204913a70 Spirit: performance optimization of karma::output_iterator
[SVN r55030]
2009-07-19 18:34:40 +00:00
Joel de Guzman
4ae6a1290e loop parsers fixes
[SVN r55012]
2009-07-18 04:26:51 +00:00
Hartmut Kaiser
dda391af8e Spirit: fixing inconsistency in list parser behavior for optional/variant based attributes
[SVN r55010]
2009-07-18 03:39:03 +00:00
Hartmut Kaiser
20beef7337 Spirit: added proper initialization of attribute value
[SVN r55009]
2009-07-18 03:36:48 +00:00
Hartmut Kaiser
65562dd6d1 Spirit: integrated multi_pass iterator with expectation points and error handling
[SVN r55008]
2009-07-18 03:35:24 +00:00
Hartmut Kaiser
3a32900834 Spirit: reapplied compiler specific fixes to generator.hpp
[SVN r54990]
2009-07-17 02:24:09 +00:00
Hartmut Kaiser
84d8077901 Spirit: added a missing forward declaration
[SVN r54976]
2009-07-16 00:26:58 +00:00
Hartmut Kaiser
518fe46872 Spirit: portability fixes for long long
[SVN r54969]
2009-07-15 14:30:44 +00:00
Hartmut Kaiser
a34914f12c Spirit: fixed bogus return types
[SVN r54968]
2009-07-15 14:27:04 +00:00
Joel de Guzman
9f9168d3f2 fix lists not reseting its local value used as the left parser's attribute between matching consecutive elements of the 'list'.
[SVN r54944]
2009-07-14 07:55:32 +00:00
Joel de Guzman
f3b548222d fix for g++
[SVN r54943]
2009-07-14 06:51:15 +00:00
Joel de Guzman
364377249b fix lists not reseting its local value used as the left parser's attribute between matching consecutive elements of the 'list'.
[SVN r54941]
2009-07-14 06:45:56 +00:00
Hartmut Kaiser
08db39ddb0 Spirit: fixing bogus include statement
[SVN r54922]
2009-07-13 14:59:39 +00:00
Hartmut Kaiser
1ad32c603d Spirit: fixing default multi_pass
[SVN r54903]
2009-07-12 03:24:00 +00:00
Hartmut Kaiser
ce8bf228ee Spirit: adding flush_multi_pass to the repository
[SVN r54896]
2009-07-11 18:23:57 +00:00
Hartmut Kaiser
c8a53dd32a Spirit: fixed a typo
[SVN r54860]
2009-07-10 15:15:27 +00:00
Hartmut Kaiser
f4471e1ebd Spirit: massive speedup fix for karma real generators (for built in floating point types)
[SVN r54859]
2009-07-10 14:57:18 +00:00
Hartmut Kaiser
3fea26d179 Spirit: comment fix
[SVN r54857]
2009-07-10 14:47:20 +00:00
Joel de Guzman
208c6d872c updates
[SVN r54852]
2009-07-10 03:10:45 +00:00
Hartmut Kaiser
d4170fcdb0 Spirit: fixing Karma output_iterator and tweaks to numeric utils
[SVN r54800]
2009-07-08 18:28:42 +00:00
Hartmut Kaiser
d5488cd580 Spirit: fixed signed/unsigned mismatch warnings
[SVN r54799]
2009-07-08 18:26:38 +00:00
Hartmut Kaiser
357449350d Spirit: fixing several (corner case) use cases
[SVN r54796]
2009-07-08 15:43:16 +00:00
Ben Hanson
37d219b377 Corner case fix to human readable state machine.
[SVN r54790]
2009-07-08 08:42:38 +00:00
Hartmut Kaiser
0b1c24c7f5 Spirit: fixed karma plus and kleene failure conditions
[SVN r54789]
2009-07-07 23:55:53 +00:00
Hartmut Kaiser
92c73f937d Spirit: added missing using directive for _pass
[SVN r54788]
2009-07-07 23:38:10 +00:00
Hartmut Kaiser
7bf2d5e236 Spirit: added missing using directive for _pass
[SVN r54787]
2009-07-07 23:37:51 +00:00
Hartmut Kaiser
c36ac014e0 Spirit: fixed a const correctness problem
[SVN r54778]
2009-07-07 19:17:44 +00:00
Hartmut Kaiser
837b5b6b46 Spirit: fixed lexer placeholders to correctly integrate with nested Phoenix expressions
[SVN r54771]
2009-07-07 15:39:02 +00:00
Hartmut Kaiser
112b8ea973 Spirit: added missing tzpedef, fixed iterator_range initialization
[SVN r54712]
2009-07-06 15:13:15 +00:00
Hartmut Kaiser
39754a2aac Spirit: fixing stupid error
[SVN r54709]
2009-07-06 13:17:29 +00:00
Hartmut Kaiser
99408e5f80 Spirit: Moved lex placeholders into namespace spirit::lex, renamed lex::_value to lex::_val
[SVN r54707]
2009-07-06 13:15:19 +00:00
Hartmut Kaiser
e48b58586a Spirit: Minor fix to simple_trace debug handler
[SVN r54692]
2009-07-05 21:30:43 +00:00
Hartmut Kaiser
3b6cc68958 Spirit: More work on lexer placeholder _value
[SVN r54691]
2009-07-05 21:29:54 +00:00
Hartmut Kaiser
883138870f Spirit.Lex: removed token_set class
[SVN r54688]
2009-07-05 21:27:22 +00:00
Hartmut Kaiser
34d597fefa Spirit: Added support for accessing the token value from a lexer semantic action
[SVN r54680]
2009-07-05 19:00:57 +00:00
Hartmut Kaiser
314fb1df41 Spirit: Added support for accessing the token value from a lexer semantic action
[SVN r54676]
2009-07-05 18:50:29 +00:00
Hartmut Kaiser
8e38104ff4 Spirit: fixed multi_pass workaround for older gcc
[SVN r54673]
2009-07-05 15:42:27 +00:00
Hartmut Kaiser
272522ee30 Spirit: fixed broken BOOST_SPIRIT_ASSERT_MATCH
[SVN r54648]
2009-07-04 16:29:27 +00:00
Hartmut Kaiser
a39e4795a7 Spirit: Removed not needed semicolon from macro definitions
[SVN r54625]
2009-07-04 01:55:30 +00:00
François Barel
193dd3d99d Spirit: fix big-endian test failures
[SVN r54613]
2009-07-03 20:48:00 +00:00
Hartmut Kaiser
225ee87ac4 Spirit: fixed include path
[SVN r54571]
2009-07-01 23:30:24 +00:00