Joel de Guzman
e34a955f2f
Major feature adddition!!!: Allow plain rules attributes of the form T,
...
instead of strictly requiring T().
2014-11-09 17:11:55 +08:00
Joel de Guzman
eb135d77c4
Big negative exponents now fail parsing instead of a runtime assertion.
2014-11-07 20:09:37 +08:00
Joel de Guzman
b7c04a2374
Big exponents now fail parsing instead of a runtime assertion.
2014-11-07 18:23:19 +08:00
Joel de Guzman
6832dc2298
fixing various corner case bugs. the new implementation uses integers
...
for intermediate computations to improve precision.
2014-11-07 18:23:19 +08:00
Joel de Guzman
c0d6ed357b
Fixes Trac #10755 "Wrong overflow checking with uint_parser<uint8_t,
...
10, 1, 3>"
2014-11-06 08:38:06 +08:00
Thomas Bernard
fec70d409c
Merge branch 'x3-devel' into feature/x3_devlop_merge
...
Conflicts:
include/boost/spirit/home/x3/extensions/repeat.hpp
test/x3/Jamfile
Add support for no_case to the bool parsers
2014-11-01 23:43:02 +01:00
Baptiste Wicht
9113f02e5d
Macro to remove filesystem dependency
...
This patch adds the BOOST_SPIRIT_X3_NO_FILESYSTEM macro which removes the dependency on boost filesystem when enabled.
There is only one line in X3 that depends on filesystem, so I think that it is a good feature to let the user disable it if it doesn't want the dependency.
2014-11-01 14:39:17 +01:00
Kohei Takahashi
83b8adbb7a
Compliant fusion::result_of::make_map changes with variadic map.
...
Signed-off-by: Kohei Takahashi <flast@flast.jp>
2014-10-26 17:48:00 +09:00
Joel de Guzman
d9678d5d50
Merge pull request #62 from vtnerd/BugFix-NullTermination
...
Fixed bug with null-termination and string containers.
2014-10-19 12:48:58 +08:00
Lee Clagett
726a930dc6
Fixed bug with null-termination and string containers.
2014-10-18 23:56:15 -04:00
Thomas Bernard
6c0b5da3a5
Improved the formating
2014-10-18 10:24:01 +02:00
Thomas Bernard
e4d195ef29
Merge branch 'x3-devel' of https://github.com/boostorg/spirit into feature/x3_no_case
...
Conflicts:
include/boost/spirit/home/x3/string/literal_string.hpp
Finalized the no_case handling based on the corrected encoding handling
2014-10-18 10:15:49 +02:00
Thomas Bernard
92bd34bd79
Corrected the seperation of the literal string from their sizes in the
...
any_char operator()
Reactivated all the char set tests
2014-10-15 23:00:58 +00:00
Thomas Bernard
7bde4c42ff
Add as_parser templates to handle on char strings as char_ instead of
...
literal_string
2014-10-13 09:30:41 +00:00
Thomas Bernard
134e30e750
Add support for char sets and char ranges
2014-10-13 09:30:25 +00:00
Stephan Aiche
60464482ee
check for fist == last before dereferencing first
2014-10-13 10:08:44 +02:00
Thomas Bernard
a4e043101c
Add the char_set and char_range parser
2014-10-12 17:16:07 +00:00
Thomas Bernard
eec3ff5316
Fix the char encoding specific generators for all the string literal
...
parsers
2014-10-12 15:57:55 +00:00
Thomas Bernard
1d62676106
Simplified the case sensitive/insensitive helpers
2014-10-12 14:24:53 +00:00
Thomas Bernard
60cca11616
Implement the no case directive for the symbols parser
2014-10-12 14:10:03 +00:00
Thomas Bernard
ad9d0429a0
Use a less invasive case_compare type extraction from the context
2014-10-07 23:19:36 +00:00
Thomas Bernard
3f089ad131
Create a fresh no_case context for the skipper
2014-10-06 23:10:09 +00:00
Thomas Bernard
430cd5feec
Add missing template keyword for clang
2014-10-06 23:09:37 +00:00
Thomas Bernard
ea72c747af
Make the char class parser no_case compatible.
...
Make all no_case tests pass.
2014-10-05 23:26:19 +00:00
Thomas Bernard
1f01e90564
Use the same logic as the skipper to swap between case sensitive and
...
case insensitive parsing.
2014-10-04 23:24:20 +00:00
Thomas Bernard
c0dfd14169
Move the no case tag and the context extraction template to the support
...
folder
2014-09-24 22:39:13 +00:00
Thomas Bernard
4b1fab071d
Make no case directive compilable
...
Added helpers to parse no case strings
Fixed some include locks
Do not pass the encoding as runtime parameter to the parsing helpers
2014-09-21 22:41:22 +00:00
Thomas Bernard
5a74952057
Add no case directive
2014-09-09 22:26:41 +00:00
Maks Naumov
306f59b3af
Add the missing comparison for 'goto_state'
2014-08-23 18:40:04 +03:00
Joel de Guzman
c87d350bb6
small tweaks
2014-08-11 18:13:27 +08:00
Joel de Guzman
5b5ccf2e49
fixes Ticket #10193
2014-08-11 17:52:24 +08:00
Sergiu Dotenco
60f53babe5
suppress msvc 'conditional expression is constant' warnings
2014-08-04 14:34:30 +02:00
Thomas Bernard
ee69de777c
Fix the namespace of the karma proto domain
2014-07-21 22:35:47 +00:00
Joel de Guzman
c480d6c7fc
workaround for lexertl bug on platforms where wchar_t is signed (can be negative).
2014-07-19 08:12:53 +08:00
K-ballo
7fa39377bb
Merge remote-tracking branch 'remotes/origin/master' into develop
2014-07-16 23:35:25 -03:00
K-ballo
e6aadc7622
Cast anonymous enum to avoid instantiating Boost.Range operators
2014-07-09 21:33:39 -03:00
Joel de Guzman
bcd6f561ad
Merge branch 'develop'
2014-07-10 08:07:16 +08:00
Agustín Bergé
239ff77b0d
Merge pull request #44 from MarcelRaad/fix-msvc
...
Fix compilation with MSVC 12+
2014-07-06 23:12:44 -03:00
Joel de Guzman
0b6c62e7ef
Merge pull request #45 from MarcelRaad/fix-warnings
...
Fix MSVC compiler warnings
2014-07-06 05:42:48 +08:00
Marcel Raad
3fb27f9ce4
Fix MSVC compiler warnings
2014-07-05 19:43:16 +02:00
Marcel Raad
51e095fa54
Fix compilation with MSVC 12+
2014-07-05 19:40:54 +02:00
Marcel Raad
0baa99aff5
Add missing includes
2014-07-05 19:38:19 +02:00
Tomoki Imai
67b3097895
Fix line_pos_iterator's column counting bug,get_current_line bug.
...
Add regresssion test for it.
2014-06-14 17:28:09 +09:00
cppljevans
fb8160bb59
Fix misleading output from context_debug due to swapping instead of copying.
2014-06-11 09:06:50 -05:00
K-ballo
d912186426
Revert "Merge pull request #37 from cppljevans/context_debug_fix_swap"
...
This reverts commit 527e54b549
, reversing
changes made to 3928caeb3d
.
2014-06-08 22:44:29 -03:00
Joel de Guzman
527e54b549
Merge pull request #37 from cppljevans/context_debug_fix_swap
...
Context debug fix swap
2014-06-09 06:15:20 +08:00
cppljevans
b1cdd15f53
fix context_debug use in detail/rule.hpp
2014-06-08 13:50:54 -05:00
Joel de Guzman
e95d80d682
added bool.cpp test
2014-06-07 08:23:32 +08:00
Joel de Guzman
4d1c9e5af7
Merge branch 'origin/develop'
2014-06-07 07:47:45 +08:00
Joel de Guzman
132da2f01a
Merge branch 'spirit_x3'
2014-06-07 07:47:01 +08:00
Joel de Guzman
8cd6940866
added bool parser
2014-06-07 07:46:18 +08:00
Joel de Guzman
97ddf141e3
- Added calc 9 (ported from Qi calc 8).
...
- Fixed is_substitute for variants
- Fixed variant_find_substitute when Attribute and Variant is the same type
2014-06-06 23:35:09 +08:00
Joel de Guzman
97ca172485
preparing for calc9
2014-06-06 12:10:27 +08:00
Joel de Guzman
2a735d84fe
Merge branch 'temp'
2014-06-06 08:17:21 +08:00
Seth Heeren
de562e75ee
Fix assignment basic_hold_any::operator= #35 (c++11)
...
The template version would not be used because the compiler-generated
one was a closer match. The implicit assignment, however, broke the
ownership semantics.
2014-06-06 02:12:02 +02:00
Joel de Guzman
dd80c84a05
Merge branch 'master'
2014-06-06 07:05:34 +08:00
Joel de Guzman
3928caeb3d
Merge branch 'origin/master'
2014-06-06 07:03:33 +08:00
Joel de Guzman
ce24248d8f
adding testing utility
2014-06-06 07:02:35 +08:00
Seth Heeren
637bc77505
Fix assignment basic_hold_any::operator=
...
The template version would not be used because the compiler-generated
one was a closer match. The implicit assignment, however, broke the
ownership semantics.
2014-06-06 00:50:29 +02:00
K-ballo
a6c314fdb4
Cosmetic fixes to the repeat directive
2014-06-01 22:31:34 -03:00
Lee Clagett
6825a6716f
Ported confix to x3 extensions
2014-06-01 20:44:16 -04:00
Joel de Guzman
0f5844c525
Merge pull request #32 from vtnerd/bugfix/raw-handles-container
...
Bugfix/raw handles container
2014-05-31 13:32:18 +08:00
Joel de Guzman
409059dc43
Bumped spirit version
2014-05-31 13:07:24 +08:00
Lee Clagett
375ab999ed
Changed the handles_container attribute of raw to always return true
...
The raw directive currently defers the decision of whether it can handle
a container to its subject (handles_container). If the subject cannot
handle a container, the raw directive returns false too. Since
is_container returns true for iterator_range, this creates problems with
the sequence operator that tries to call
attr.insert(attr.end(), raw_range) when handles_container of the raw
subject is false. Since the raw directive can handle container
attributes (it has for some time), it seemed best to always return true
for handles_container.
2014-05-30 08:38:59 -04:00
Joel de Guzman
29ead94468
Merge branch 'x3-devel'
2014-05-30 13:37:31 +08:00
Joel de Guzman
41cf0f5fdb
minor adjustments. we're good to go. test pass.
2014-05-30 13:34:25 +08:00
Joel de Guzman
3afadd48dc
Merge pull request #28 from teajay-fr/feature/x3_repeat
...
Feature/x3 repeat
2014-05-30 13:26:32 +08:00
Joel de Guzman
3ac97a6e33
Merge branch 'develop'
2014-05-28 16:08:58 +08:00
Joel de Guzman
e85cf3da3f
fixed long standing operator precendence bug
2014-05-28 15:45:26 +08:00
Joel de Guzman
a70a53e856
Merge branch 'x3-devel'
2014-05-27 13:22:18 +08:00
Joel de Guzman
64e4fe1511
simpler name for bool template param
2014-05-27 06:21:09 +08:00
Joel de Guzman
fb2ab52da1
merging position_cache with error_handler
2014-05-26 20:00:45 +08:00
Joel de Guzman
faebc75274
compiler error handling looking good
2014-05-26 19:32:56 +08:00
Joel de Guzman
99430b8077
simplification of semantic action interface
...
- there are only 2 variations now f() and f(ctx)
- added _attr(ctx) accessor for accessing the attribute
- added _where(ctx) accessor for accessing the iterator range
this, and in preparation for a unified call interface for actions as well as lazy args to e.g. eps(f)
2014-05-26 17:03:26 +08:00
Joel de Guzman
b00adde370
using is_callable utility instead of proto hack
2014-05-26 14:14:30 +08:00
Joel de Guzman
528c1de366
made on_success mechanism as a member of the rule ID
2014-05-26 13:06:58 +08:00
Joel de Guzman
168e202365
making the rule ID more useful by making it a class where you define on_error (and later on_success) hooks.
2014-05-26 12:38:30 +08:00
Joel de Guzman
913a092ee6
reverting previous mistakes
2014-05-25 08:29:56 +08:00
Joel de Guzman
275b0bcb34
some cleanup
2014-05-24 17:29:09 +08:00
Joel de Guzman
683ed7df49
improved exception handling API: on_error(first, last, x, context)
2014-05-24 16:45:46 +08:00
Joel de Guzman
41b5b4b1a6
implemented clang-style error handling
2014-05-24 16:32:23 +08:00
Joel de Guzman
8ca164044c
- added lambda_visitor
...
- added annotation of ASTs
2014-05-19 11:53:25 +08:00
Joel de Guzman
caf19f5c7c
passing position_cache as context to our parser (for error handling)
2014-05-19 10:34:16 +08:00
Joel de Guzman
0a32d104db
incremental port again
2014-05-19 02:46:48 +08:00
Joel de Guzman
92b4f69c74
another incremental port of qi::calc7
2014-05-18 07:27:29 +08:00
Joel de Guzman
fe2a3e13bb
bumping copyright dates
2014-05-17 17:41:20 +08:00
Joel de Guzman
2610912397
added phrase_parse_context
2014-05-17 11:56:34 +08:00
Joel de Guzman
fd99b74257
Implemented BOOST_SPIRIT_DECLARE and BOOST_SPIRIT_DECLARE
2014-05-17 10:46:07 +08:00
Joel de Guzman
1a960e4bba
All tests are now passing.
2014-05-17 09:25:06 +08:00
Joel de Guzman
12ee452e27
- allow simple local rules
...
- inject the rule tag into the context ONLY IF there's no BOOST_DEFINE for that rule.
2014-05-17 08:24:52 +08:00
Joel de Guzman
1966f55985
working with the monster
2014-05-16 13:34:25 +08:00
Joel de Guzman
927dea5eb1
implementing BOOST_SPIRIT_DEFINE
2014-05-16 07:22:18 +08:00
Joel de Guzman
0e47e08037
added rcontext argument to parse functions
2014-05-15 21:46:25 +08:00
Joel de Guzman
aeb0e93865
fix for raw directive
2014-05-13 09:37:14 +08:00
Lee Clagett
3f0ec43f53
Modifying x3 seek implementation for better readability
2014-05-10 15:19:23 -04:00
Thomas Bernard
6dfba300b8
Don't use lambdas for the repeat limit evaluation
...
Comment out the not yet supported tests
Changed some variable names to improve the code clarity
2014-05-09 01:21:53 +02:00
Joel de Guzman
ba9239aa2e
Merge branch 'origin/develop'
2014-05-08 07:41:02 +08:00
Andrey Semashev
c82c039f43
Fix compilation with C++03 compilers.
...
Fix compilation with C++03 compilers (e.g. gcc 4.2.1).
2014-05-07 22:30:24 +04:00
Thomas Bernard
e1571dac5e
Remove old code
2014-05-07 16:50:41 +02:00
Thomas Bernard
a5e1c57350
Add repeat directive
2014-05-07 16:43:12 +02:00
Agustín Bergé
2aa65d92b3
Merge pull request #21 from jamboree/push/utilities
...
Added several utilities: integer_sequence, is_callable, unrefcv
2014-05-05 19:41:35 -05:00
Joel de Guzman
372437d5f5
Merge pull request #18 from K-ballo/fix-8537
...
Fix for #8537 : Qi `skip` fails when nested under two or more levels of `...
2014-05-05 07:57:39 +08:00
Lee Clagett
bb6f924aeb
Flattened extensions directory.
2014-05-03 11:14:01 -04:00
Lee Clagett
70df6e398e
Ported v2 repository seek directive to x3 extensions
2014-05-02 23:58:48 -04:00
Lee Clagett
7e8aa63eb3
Fixing compilation issue when including raw directive, or semantic action.
2014-05-02 23:39:19 -04:00
Jamboree
821c3d701e
add utility/unrefcv
2014-05-02 22:02:21 +08:00
Jamboree
4ff26b1ba5
add utility/is_callable
2014-05-02 22:01:39 +08:00
Jamboree
29d982db18
add utility/integer_sequence
2014-05-02 22:01:13 +08:00
Joel de Guzman
c9f4ec675b
based on calc6 with any_parser
2014-05-02 19:33:07 +08:00
Joel de Guzman
a129355f3e
implemented raw directive
2014-05-02 10:53:16 +08:00
Joel de Guzman
7f111eb070
added with directive
2014-05-02 08:30:37 +08:00
Agustín Bergé
56a10f7b78
Merge pull request #17 from wichtounet/patch-1
...
Qualify get with x3::get
2014-05-01 17:32:59 -03:00
Joel de Guzman
adb97d5278
removed extra include
2014-05-01 16:13:40 +08:00
Joel de Guzman
f7a3280fe6
added ast utilities
2014-05-01 16:13:15 +08:00
Joel de Guzman
3da43905a9
better x3::variant interface
2014-05-01 11:52:18 +08:00
Joel de Guzman
2f2e450596
ading is_rule trait
2014-05-01 07:19:52 +08:00
Joel de Guzman
61d656e606
removing non-variadics code
2014-05-01 07:02:38 +08:00
Joel de Guzman
40b190717a
new facade-based API (reverted from commit 7f7dbe9036
)
2014-05-01 06:34:19 +08:00
Joel de Guzman
5fdfd96434
Merge pull request #15 from jamboree/develop
...
fix transform_params/ fix integer_sequence for clang (reverted from commit 29fea72576
)
2014-05-01 06:33:39 +08:00
K-ballo
f91e771d51
Fix for #8537 : Qi skip
fails when nested under two or more levels of lexeme
2014-04-26 23:53:55 -03:00
K-ballo
621e7ec143
Fixes for boost::optional explicit operator bool
2014-04-26 22:40:54 -03:00
K-ballo
1995de7249
Fixed const issue in attr_parser
2014-04-26 17:40:55 -03:00
Baptiste Wicht
51d8b948d8
Qualify get with x3::get
2014-04-26 10:53:32 +02:00
Baptiste Wicht
d9affe28c9
Qualify get with x3::get
2014-04-26 10:50:54 +02:00
Baptiste Wicht
52ad3bd463
Quality get with x3::get
2014-04-26 10:43:56 +02:00
jamboree
c298ad4c7f
fix transform_params/ fix integer_sequence for clang
2014-04-25 12:02:41 +08:00
Jamboree
7f7dbe9036
new facade-based API
2014-04-23 22:03:03 +08:00
K-ballo
9015fc5324
Moved is_parser trait to its own file
2014-04-22 14:34:26 -03:00
K-ballo
ad772933a7
Added type-erased parser, tests and examples
2014-04-22 13:55:08 -03:00
K-ballo
9fc5b68d39
Subcontext fixes and formatting
2014-04-22 13:55:08 -03:00
Joel de Guzman
dc5d47814e
various sequence handling fixes
2014-04-20 11:07:23 +08:00
Joel de Guzman
4497575589
added mising files
2014-04-18 19:48:10 +08:00
Joel de Guzman
0919f2a5d8
cleanup
2014-04-18 10:08:43 +08:00
Joel de Guzman
25b1cc6425
Fix for case where a single-element sequence is not being moved into a variant that can accept it.
2014-04-18 09:57:59 +08:00
Joel de Guzman
9c4f73a39a
moved (variant)has_substitute and (variant)find_substitute into traits
2014-04-18 09:38:23 +08:00
Joel de Guzman
4afb7f95f7
Merge pull request #12 from vtnerd/bugfix/qi_tests
...
Bugfix/qi tests
2014-04-17 07:47:49 +08:00
Lee Clagett
f0548108d3
Made alterative_function functor const to match non-specialized version.
2014-04-16 07:31:30 -04:00
Lee Clagett
d7b37aec4b
Fixed iterator rollback bug in tst_map
2014-04-13 12:03:56 -04:00
Ruslan Baratov
bbe67a21c3
Fix some misprints in docs and code comments.
2014-04-11 16:27:54 +04:00
Joel de Guzman
08a133e849
variant should be named variant. nothing else.
2014-04-09 22:25:43 +08:00
Joel de Guzman
a97fb7faf6
improved variant interface
2014-04-09 22:16:20 +08:00
Joel de Guzman
c265c80da8
added x3::ast and x3::forward_ast (specialized versions of boost::variant and boost::recursive_wrapper)
2014-04-09 15:17:02 +08:00
Joel de Guzman
26b0e9e1f0
action should be in core, not auxilary
2014-04-09 12:57:52 +08:00
Joel de Guzman
f88d50853c
use enum class for error_handler_result
2014-04-09 11:54:09 +08:00
Joel de Guzman
e24686ea6f
added on_sucess handler (complements on_error)
2014-04-09 11:40:02 +08:00
Joel de Guzman
c0c07026dc
Ported calc5 to X3 (Same as Calc4, this time, we'll incorporate debugging support, plus error handling and reporting).
2014-04-09 08:34:57 +08:00
Joel de Guzman
e1dffe91c3
impemented rule %= operator
2014-04-08 11:30:13 +08:00
Joel de Guzman
92dfab37fa
added offline error handling for rules
2014-04-07 15:26:12 +08:00
Joel de Guzman
16b894852a
added actions test
...
added _fail context for forcing a faiked parse
2014-04-02 17:38:03 +08:00
Joel de Guzman
ceb4e05483
semantic actions with attributes only (no context)
2014-04-02 02:34:32 +08:00
Joel de Guzman
4a7cdc23e0
nullary semantic actions allowed
2014-04-02 02:04:41 +08:00
Joel de Guzman
7b0d142492
semantic actions with context only (no attributes)
2014-04-02 01:52:19 +08:00
Joel de Guzman
99337861f8
+ Using -std=c++1y
...
+ Using polymorphic lambda on semantic actions
2014-04-01 18:54:33 +08:00
Joel de Guzman
23448524c7
Merge pull request #5 from redbaron/char-container-std-string
...
use std::string as a container for char
2014-04-01 10:53:55 +08:00
Joel de Guzman
df2e019830
Merge branch 'parse-into-fusion-map' of https://github.com/redbaron/spirit into redbaron-parse-into-fusion-map
...
Conflicts:
test/Jamfile
2014-04-01 10:50:51 +08:00
Joel de Guzman
f6b78c4464
Merge branch 'lit-leaks-attribute' of https://github.com/redbaron/spirit into redbaron-lit-leaks-attribute
...
Conflicts:
test/Jamfile
test/x3/sequence.cpp
2014-04-01 10:47:57 +08:00
Joel de Guzman
5e1c8a2dd8
Merge pull request #8 from redbaron/fix-one-element-seq
...
Fix one element seq
2014-04-01 10:25:52 +08:00
Joel de Guzman
01608a1294
added missing unused.hpp file
2014-04-01 08:28:30 +08:00
Joel de Guzman
b23c6c741b
Merge branch 'develop'
2014-04-01 08:21:32 +08:00
Joel de Guzman
5368c19e4c
- fixed move_to handling when src and dest are the same
...
- added jamfile
2014-04-01 08:09:21 +08:00
Maxim Ivanov
6f5e169987
Move move_to condition to template
...
Even if branch is never taken it still must be compiled
properly, which can cause compile errors. Moving condition
to template eliminates branching.
2014-03-26 09:52:28 +00:00
Maxim Ivanov
8ea47e5025
Fix for the case when fusion assoc seq is on either side of seq
2014-03-26 09:52:28 +00:00
Maxim Ivanov
19d2da2f5b
Support alternative over keys to be used as a key for fussion assoc
...
Adds support for parsers like:
auto key1 = lit("key1=") >> attr(key1());
auto key2 = lit("key2=") >> attr(key2());
auto value = int();
auto pair = key1|key2 >> value;
where attribute passed to pair.parse() is fusion associative sequence
2014-03-26 09:44:43 +00:00
Maxim Ivanov
bb16f871ae
Merge branch 'fix-one-element-seq' into parse-into-fusion-map
2014-03-25 10:14:57 +00:00
Maxim Ivanov
58e177beb7
Support parsing into fusion adapted structs
2014-03-25 10:14:46 +00:00
Maxim Ivanov
2f1659413b
Fix for sequences with only one element producing attr
...
If in a sequence only one element produces attribute, then make whole
sequence to produce that attribute,rather than wrapping it into
fusion::deque. Not doing so breaks alternative<> parser, when such
sequences are on left and right side of it, because it then generates
variant attribute over fusion:deque<> attributes, which is not
what it is supposed to do. Plus it breaks traits::move_to when both
source and destination are single element fusions sequences. Hence this
fix to put everything back to normal for this edge case.
2014-03-24 23:48:28 +00:00
Maxim Ivanov
641029c983
Avoid needless construction of sequence<> parser
2014-03-20 11:25:22 +00:00
Maxim Ivanov
b11cfb5bc5
Make it possible to parse 2 element sequences directly into fusion map
...
If parser produces 2 element tuple, then fusion::map can be passed
as an attribute to it. Type of first element in produces tuple is used
as a key and second element is a value stored in map.
Few notes how does it work:
- parsing to fusion::map is treated as parsing to container
- special parse_into_container logic call's parser with it's native
attribute type (fusion::deque<> for sequences) and then updates
fusion::map with values from it.
2014-03-20 11:25:22 +00:00
Joel de Guzman
af07ca7300
Merge branch 'origin/develop'
2014-03-20 12:34:15 +08:00
Maxim Ivanov
34ff12be41
unify built container for single element fusion::deque
...
continue to reduce variety of containers floating inside instantiated
templates.
2014-03-19 23:33:46 +00:00
Maxim Ivanov
676f1f882a
make x3::omit[] fail at compile time if it is called with non-unused_type attr
...
It should never be called with anything but unused_type attribute
anyway, but if something did it due to error it is better to be safe and
fail at compile time rather than unexpectedly update attribute, which
could lead to hard to detect errors.
2014-03-19 22:53:48 +00:00
Maxim Ivanov
4f97aa987c
stop x3::lit from updating passed container
2014-03-19 22:34:31 +00:00
Maxim Ivanov
84c0c07546
use std::string as a container for char
...
That is what normally users would pass, so in some situations it
can avoid copying data.
2014-03-19 19:39:13 +00:00
Maxim Ivanov
2d862e1d8d
Fix for parsing sequences with x3::unused attribute
2014-03-18 18:21:40 +00:00
Joel de Guzman
0262419033
fixed wrong include guard
2014-03-18 11:33:10 +08:00
Joel de Guzman
8a35332835
Merging Spirit x3 into devel
2014-03-18 11:06:19 +08:00
Joel de Guzman
c2c8d6ace2
moving headers to include to mimic modular boost structure
2014-03-18 10:30:47 +08:00
Yuri Khan
bdf4fd8d28
Fix attribute_size<optional<T> >
2014-03-03 15:19:12 +07:00
K-ballo
76f65843ce
Added changes needed by resolution of #7730
2014-02-20 20:04:28 -06:00
Joel de Guzman
5df5b42f7c
merging from develop
2014-01-22 22:33:33 +08:00
Joel de Guzman
ca8ca3c729
Merge branch 'develop'
...
Conflicts:
doc/what_s_new.qbk
example/qi/compiler_tutorial/Jamfile
example/qi/compiler_tutorial/conjure2/error_handler.hpp
example/qi/typeof.cpp
include/boost/spirit/home/karma/detail/pass_container.hpp
include/boost/spirit/home/karma/nonterminal/rule.hpp
include/boost/spirit/home/karma/operator/alternative.hpp
include/boost/spirit/home/karma/operator/sequence.hpp
include/boost/spirit/home/karma/string/symbols.hpp
include/boost/spirit/home/lex/lexer/lexer.hpp
include/boost/spirit/home/lex/lexer/support_functions.hpp
include/boost/spirit/home/lex/qi/plain_tokenid.hpp
include/boost/spirit/home/qi/copy.hpp
include/boost/spirit/home/qi/nonterminal/rule.hpp
include/boost/spirit/home/qi/stream/stream.hpp
include/boost/spirit/home/qi/string/symbols.hpp
include/boost/spirit/home/support/attributes.hpp
include/boost/spirit/home/support/auto.hpp
include/boost/spirit/home/support/extended_variant.hpp
include/boost/spirit/home/support/info.hpp
include/boost/spirit/repository/home/qi/directive/kwd.hpp
include/boost/spirit/repository/home/qi/operator/detail/keywords.hpp
repository/test/qi/keywords.cpp
test/karma/regression_container_variant_sequence.cpp
2014-01-22 22:18:57 +08:00
Joel de Guzman
1d9633a9c9
Support for BOOST_SPIRIT_AUTO and qi::copy.
...
[SVN r76928]
2014-01-22 21:30:28 +08:00
Joel de Guzman
cf9db449ce
Fixed problem with handling BOOST_FUSION_ADAPT_ADT
...
[SVN r74291]
Applied patch (ticket 5716)
https://svn.boost.org/trac/boost/attachment/ticket/5716/spirit_wide_what.patch
[SVN r74292]
Reverting patch. The tests are broken with the patch!
[SVN r74293]
Fix Ticket #5867
[SVN r74299]
- using LLVM 2.9 release
- added bjam for msvc
[SVN r74310]
Fix Ticket #5867
[SVN r74323]
adding the target location in the project requirements to generate the exe in the same directory.
[SVN r74324]
Added explicit qualification for ref to avoid conflict with std::ref
[SVN r74413]
seek directive by TONGARI
[SVN r74796]
Preparing docs for release
[SVN r74709]
seek directive by TONGARI
[SVN r74797]
Adding safe-guards
[SVN r74831]
typo fix
[SVN r74837]
Spirit: Removing bogus static_assert
[SVN r74838]
Added rvalue support for rule %=
[SVN r74876]
Added rvalue support for rule %=
[SVN r74877]
Added rvalue support for rule %=
[SVN r74878]
Spirit: adding rvalue reference overload for lexer::operator+=(), fixes regressions caused by recent proto changes
[SVN r74892]
Added rvalue support for symbols %=
[SVN r74905]
Added rvalue support for symbols %=
[SVN r74906]
Replace spirit and phoenix documentation with a redirect.
[SVN r74983]
Spirit: applying Vitaly Budovski's patch adding binary floating point parsers and generators
[SVN r75105]
Docs for the seek directive
[SVN r75108]
Docs for the seek directive
[SVN r75321]
C++11 patches by Michel Morin
[SVN r75395]
Spirit: adding get<> overload to extended_variant
[SVN r75469]
+ more get overloads
+ returning references instead of values
[SVN r75484]
Spirit: fixing check for Boost version for endian, when will we finally get that library?
[SVN r75710]
added longest match test
[SVN r75735]
Spirit: fixed #6253 : lex::lexertl::generate_static_dfa compiler errors if lexer has wchar_t as underlying stream type
[SVN r75910]
Spirit: making sure qi::attr is in the documentation index
[SVN r75916]
fixes Ticket #6259
[SVN r75931]
Spirit: fixed #6284 : qi_parsers/numeric.htm documentation defects
[SVN r76022]
Spirit: disambiguate cref.
[SVN r76046]
Spirit: fixed spelling (fixed #6003 : occured is spelled occurred)
[SVN r76152]
Spirit: fixed spelling (fixed #6003 : occured is spelled occurred)
[SVN r76153]
Spirit: added a missing typename
[SVN r76194]
Spirit: improving error reporting from lexer tokens
[SVN r76248]
Spirit: fixing copy/paste error
[SVN r76284]
Spirit: fixing signed/unsigned mismatch warning
[SVN r76285]
Spirit: changing c-style cast to static_cast
[SVN r76289]
Spirit: Fixing problems in karma::center[] directive
[SVN r76381]
Spirit: fixed karma::subrule
[SVN r76382]
Spirit: fixed Karma examples
[SVN r76383]
Spirit: fixed #6368 : [multi_pass] clear_queue isn't forwarded to the storage policy
[SVN r76384]
Spirit: updating docs
[SVN r76385]
Spirit: Fixed a problem in Karma when a variant holding a container was used as a generator inside a sequence.
[SVN r76462]
Removing deprecated headers
[SVN r77230]
Added note on the removal of deprecated headers.
[SVN r77243]
Fix: still no Boost.Endian available
[SVN r77400]
teajay's keyword patches
[SVN r77428]
fix for identifier rule not allowing identifiers that start with a keyword (e.g. fortify)
[SVN r77966]
Solving the darn endian problem in Spirit once and for all. I should have done this a long time ago.
[SVN r78156]
patches from teejay
[SVN r78313]
Whitespace should be + not *.
[SVN r78358]
Big fix allowing "script" greater that 63
[SVN r78524]
Missing `endsect` in spirit docs.
[SVN r78732]
Fixed wrong link
[SVN r78905]
Update classic spirit tests which use boost::TIME_UTC (now TIME_UTC_).
[SVN r79653]
Fixed char->char_type
[SVN r79764]
Fix #4372 : spirit::info violates STL container requirements
[SVN r80121]
test overlapping symbols
[SVN r80800]
#7431 Warning fixes in spirit
[SVN r80815]
readding proper file structure
[SVN r81004]
Spirit: Fixing inspect problems
[SVN r81794]
Spirit: More inspect fixes
[SVN r81795]
Spirit: Fixing problem in result size computation for Karma sequence involving variants
[SVN r81896]
Spirit: another attempt to fix the sequence compilation problem in Karma when variants are involved
[SVN r81910]
Spirit: applying final patch for variant/sequence issue in Karma
[SVN r81917]
Spirit: adding missing 'const'
[SVN r81926]
Spirit: Adding proper return type handling to variant visitor
[SVN r81928]
Spirit: cleaning up visitor
[SVN r81929]
Spirit: made it finally compile again.
[SVN r81938]
Spirit: applying patch fixing qi::stream EOF behavior
[SVN r82078]
Spirit: fixing inspect errors
[SVN r82191]
Additional msvc warning removal
[SVN r82347]
Fix #7900 : karma indirect_iterator returns reference to temporary
[SVN r82521]
Fix #8381 : karma::uint_generator fails to compile in C++11 mode
[SVN r83776]
Spirit: making sure destructor of temporary stream is called in the right places
[SVN r83926]
Fix #8066 : Conflict with Boost.Log on GCC 4.4
[SVN r84118]
Fix #8563 : Compilation error with boost::spirit::lex::less actor
[SVN r84285]
Fixes #9027
[SVN r85415]
Spirit: Fixing clang regressions
[SVN r85421]
Simplified code for overflow handling: looking at the code i see now that it is actually safer to always check for overflow by default. most architectures have 2s complement anyway, so the optimization only happens on some obscure architecture where ints do not wrap (also for floats--they do not wrap as well). i'll simply have ints check for overflow *always* and provide a CP for special types that the user can specialize for optimization.
[SVN r85440]
Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
Process #ifdef...#endif blocks.
[SVN r86243]
Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
Process #ifndef...#else...#endif blocks.
[SVN r86245]
Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
Process #ifdef...#else...#endif blocks.
[SVN r86246]
Restored check for unsupported compilers
[SVN r86387]
Add Boost.Build support for the Git modular layout, using links to to new header locations, thus preventing breakage to vast amounts of user code and build setups. Being added to SVN so that changes will automatically propagate to Git and modular Boost. Thanks to Steven Watanabe, Jürgen Hunold, Vladimir Prus, and Bjørn Roald for developing this patch. Steven in particular conceived the approach and did the initial implementation, which was further refined by the other contributors.
[SVN r86392]
Removing phoenix-2 for good ( good bye I will miss you )
2014-01-22 20:54:33 +08:00
K-ballo
f14c110dd0
More work for supporting new boost::variant interface
2014-01-21 19:08:26 -06:00
Jürgen Hunold
7a21658eaf
use BOOST_VARIANT_DO_NOT_USE_VARIADIC_TEMPLATES to select variadic macro support code
2014-01-21 19:08:25 -06:00
K-ballo
f86068f830
Fixed #9238 : BOOST_VARIANT_USE_VARIADIC_TEMPLATES support
2014-01-18 14:15:14 -06:00
K-ballo
1470417fa4
Fixed issue with EOF in stream parser
2013-12-14 21:55:33 -06:00
K-ballo
c7983a0b28
Fixed issue with mutable applied to references in pass_container
2013-12-14 14:08:24 -06:00
Joel de Guzman
c0537c8251
Removing phoenix-2 for good ( good bye I will miss you )
2013-12-14 09:52:07 +08:00
Agustín K-ballo Bergé
c1597829ba
Restored check for unsupported compilers
...
[SVN r86387]
2013-10-22 00:10:55 +00:00
Andrey Semashev
57c788714e
Fixed missing #includes that broke Boost.Log compilation.
...
[SVN r86331]
2013-10-16 14:49:13 +00:00
Hartmut Kaiser
de26ca955c
Merging from trunk
...
[SVN r86266]
2013-10-12 17:46:00 +00:00
Stephen Kelly
17c6d9d699
Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
...
Process #ifdef...#else...#endif blocks.
[SVN r86246]
2013-10-11 23:19:17 +00:00
Stephen Kelly
b5d0c2f3c9
Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
...
Process #ifndef...#else...#endif blocks.
[SVN r86245]
2013-10-11 23:17:48 +00:00
Stephen Kelly
d16398ac3b
Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
...
Process #ifdef...#endif blocks.
[SVN r86243]
2013-10-11 23:13:10 +00:00
Stephen Kelly
f936e6710f
Spirit: Remove obsolete GCC version checks.
...
[SVN r86061]
2013-09-30 15:56:04 +00:00
Stephen Kelly
3807071c42
Spirit: Remove obsolete MSVC version check.
...
[SVN r86034]
2013-09-30 00:20:31 +00:00
Stephen Kelly
39dd7666e7
Remove obsolete MSVC check from pragma guard
...
git grep -h -B1 "^#\s*pragma once" | grep -v pragma | sort | uniq
is now clean.
[SVN r85952]
2013-09-26 13:02:51 +00:00
Agustín K-ballo Bergé
1247e4b4a6
Silence int to bool conversion warnings
...
[SVN r85924]
2013-09-26 00:16:19 +00:00
Stephen Kelly
c33e14c4e7
Spirit: Remove obsolete MSVC version checks
...
[SVN r85906]
2013-09-25 13:53:02 +00:00
Agustín K-ballo Bergé
e895a826f9
Spirit X3 unused
...
[SVN r85769]
2013-09-18 01:32:03 +00:00
Joel de Guzman
2a893944ee
Simplified code for overflow handling: looking at the code i see now that it is actually safer to always check for overflow by default. most architectures have 2s complement anyway, so the optimization only happens on some obscure architecture where ints do not wrap (also for floats--they do not wrap as well). i'll simply have ints check for overflow *always* and provide a CP for special types that the user can specialize for optimization.
...
[SVN r85440]
2013-08-24 02:32:49 +00:00
Hartmut Kaiser
9d42641cd5
Spirit: Fixing clang regressions
...
[SVN r85421]
2013-08-22 14:36:22 +00:00
Joel de Guzman
57225b9688
Fixes #9027
...
[SVN r85415]
2013-08-21 13:34:02 +00:00
Joel de Guzman
89c9a8f547
Fixes ticket #9007
...
[SVN r85399]
2013-08-20 05:11:14 +00:00
Hartmut Kaiser
90d65d4be7
Fixed #8970 : Karma fails to output a sign with a user-defined real number policy
...
[SVN r85221]
2013-08-06 13:36:38 +00:00
Hartmut Kaiser
0487573880
Spirit: fixed #3999 : multi_pass cannot deal with all input iterators
...
[SVN r85178]
2013-07-31 15:23:12 +00:00
Joel de Guzman
e8282972be
Merge changes from trunk
...
[SVN r85051]
2013-07-16 10:46:32 +00:00
Hartmut Kaiser
e3094e5a6f
Spirit: Merging from trunk
...
[SVN r85046]
2013-07-15 17:24:24 +00:00
Hartmut Kaiser
81b9bb40b0
Spirit: fixing a problem in karma::omit
...
[SVN r84814]
2013-06-17 13:11:30 +00:00
Hartmut Kaiser
59d9d69917
Merging from trunk
...
[SVN r84745]
2013-06-11 19:49:19 +00:00
Hartmut Kaiser
5c8bd9fefb
Removing superflous typename
...
[SVN r84744]
2013-06-11 19:46:49 +00:00
Hartmut Kaiser
b88eece0a6
Spirit: Merging from trunk
...
[SVN r84640]
2013-06-04 19:29:46 +00:00
Hartmut Kaiser
4915ddcfc1
Spirit: Fixed #8563 : Compilation error with boost::spirit::lex::less actor
...
[SVN r84631]
2013-06-04 15:16:52 +00:00
Hartmut Kaiser
2d46425ad4
Spirit: merging from trunk
...
[SVN r84286]
2013-05-14 23:46:54 +00:00
Hartmut Kaiser
fc83d23f2a
Fix #8563 : Compilation error with boost::spirit::lex::less actor
...
[SVN r84285]
2013-05-14 23:43:46 +00:00
Andrey Semashev
c0ad0c00cc
Fixed accidental previous commit.
...
[SVN r84255]
2013-05-12 18:13:08 +00:00
Andrey Semashev
14f4b73ef7
Merged from trunk: By default, when 32 bit x86 build is requested, i686 instruction set is chosen now. i386 instruction set removed since de facto it is not supported by some core libraries (Boost.Atomic and Boost.SmartPtr) and major operating systems. The minimum 32 bit x86 instruction set is i486 now. Also added a few more instruction sets that appeared in recent CPUs.
...
[SVN r84254]
2013-05-12 18:02:44 +00:00
Hartmut Kaiser
0f3fe1e6cd
Spirit: merging from trunk
...
[SVN r84119]
2013-05-02 19:51:13 +00:00
Hartmut Kaiser
37ef3b7591
Fix #8066 : Conflict with Boost.Log on GCC 4.4
...
[SVN r84118]
2013-05-02 19:48:25 +00:00
Hartmut Kaiser
590a2c203f
Spirit: Merging from trunk
...
[SVN r83927]
2013-04-16 12:48:05 +00:00
Hartmut Kaiser
0f52ab8636
Spirit: making sure destructor of temporary stream is called in the right places
...
[SVN r83926]
2013-04-16 12:16:39 +00:00
Hartmut Kaiser
6ae7c1548f
Spirit: merging from trunk
...
[SVN r83840]
2013-04-10 22:51:13 +00:00
Hartmut Kaiser
892d8ec125
Fix #8381 : karma::uint_generator fails to compile in C++11 mode
...
[SVN r83776]
2013-04-06 14:36:38 +00:00
Andrey Semashev
f4df95f2d0
Fixed compilation on compilers with support for static_assert.
...
[SVN r83754]
2013-04-03 19:16:59 +00:00
Hartmut Kaiser
94d5862df7
Spirit: Merging from trunk
...
[SVN r83739]
2013-04-03 13:17:15 +00:00
Hartmut Kaiser
ae8b2b54b3
Spirit: fix #8361 : Linking problems with MSVC
...
[SVN r83738]
2013-04-03 13:13:12 +00:00
Hartmut Kaiser
c275ac9291
Spirit: Merging trunk
...
[SVN r83487]
2013-03-18 11:31:16 +00:00
Hartmut Kaiser
29f6fcdaa0
Fix #8302 : Lexer does not relase iterator - excellent catch!
...
[SVN r83486]
2013-03-18 11:28:33 +00:00
Hartmut Kaiser
f7f2dd4d9a
Merging Spirit fixes
...
[SVN r83463]
2013-03-16 14:46:00 +00:00
Hartmut Kaiser
2b4c331e70
Fix #8291 : Lexer fails to work on ARM
...
[SVN r83462]
2013-03-16 14:39:51 +00:00
Hartmut Kaiser
3e013475ab
Fix #6248 : multi_pass_iterator not flushed automatically by expectation operator
...
[SVN r83461]
2013-03-16 14:36:12 +00:00
Hartmut Kaiser
82cc0ae61a
Applying patch fixing a double destruction in detail::hold_any
...
[SVN r83414]
2013-03-13 13:32:21 +00:00
Joel de Guzman
8b0085e735
Fixes #8186
...
[SVN r83367]
2013-03-09 04:41:33 +00:00
Joel de Guzman
2acebaf994
Fixes #7942
...
[SVN r82658]
2013-01-28 16:37:15 +00:00
Hartmut Kaiser
2f0efa2e73
Spirit: merging from trunk
...
[SVN r82574]
2013-01-20 23:59:21 +00:00
Hartmut Kaiser
ad53d2e841
Fix #7900 : karma indirect_iterator returns reference to temporary
...
[SVN r82521]
2013-01-17 13:33:58 +00:00
Hartmut Kaiser
e189d62237
Spirit: Fixing merge problem
...
[SVN r82376]
2013-01-06 17:02:08 +00:00
Joel de Guzman
ba8a13f60e
Additional msvc warning removal
...
[SVN r82347]
2013-01-04 01:39:50 +00:00
Hartmut Kaiser
d161baf9c6
Spirit: Merging from trunk
...
[SVN r82080]
2012-12-18 13:58:38 +00:00
Hartmut Kaiser
597226c96d
Spirit: applying patch fixing qi::stream EOF behavior
...
[SVN r82078]
2012-12-18 13:51:21 +00:00
Hartmut Kaiser
14a3ecbd1b
Spirit: made it finally compile again.
...
[SVN r81938]
2012-12-14 12:19:53 +00:00
Hartmut Kaiser
82793e0a2f
Spirit: cleaning up visitor
...
[SVN r81929]
2012-12-14 01:46:48 +00:00
Hartmut Kaiser
30a5922b0b
Spirit: Adding proper return type handling to variant visitor
...
[SVN r81928]
2012-12-14 01:45:34 +00:00
Hartmut Kaiser
ca3846a070
Spirit: more merging from trunk
...
[SVN r81927]
2012-12-14 01:38:53 +00:00
Hartmut Kaiser
61f33e28c0
Spirit: adding missing 'const'
...
[SVN r81926]
2012-12-14 01:36:53 +00:00
Hartmut Kaiser
67bc27c8b8
Spirit: merging from trunk
...
[SVN r81918]
2012-12-13 22:06:53 +00:00
Hartmut Kaiser
f032c41553
Spirit: applying final patch for variant/sequence issue in Karma
...
[SVN r81917]
2012-12-13 22:02:42 +00:00
Hartmut Kaiser
8643b8ede0
Spirit: another attempt to fix the sequence compilation problem in Karma when variants are involved
...
[SVN r81910]
2012-12-13 19:22:53 +00:00
Hartmut Kaiser
26c38cb6fa
Spirit: Fixing problem in result size computation for Karma sequence involving variants
...
[SVN r81896]
2012-12-13 13:34:54 +00:00
Hartmut Kaiser
a597dccfc7
Spirit: merging from trunk
...
[SVN r81797]
2012-12-08 16:31:17 +00:00
Hartmut Kaiser
96bcbe9149
Spirit: More inspect fixes
...
[SVN r81795]
2012-12-08 15:58:14 +00:00
Hartmut Kaiser
3ba8b8b8ed
Spirit: applying Karma unicode patch
...
[SVN r81746]
2012-12-06 17:41:53 +00:00
Joel de Guzman
32eccfa2ab
Renamed nil to nil_
...
[SVN r81721]
2012-12-05 13:43:00 +00:00
Hartmut Kaiser
7ba00397d2
Spirit: adding karma::output_iterator::base() to access underlying output iterator
...
[SVN r81454]
2012-11-21 14:29:35 +00:00
Marshall Clow
b641d1f212
Remove usage of deprecated macros
...
[SVN r81451]
2012-11-21 02:54:04 +00:00
Hartmut Kaiser
7aa7ebd3c1
Spirit: fixed #7635 : Karma real generators output "inf" when attribute is integral 0
...
[SVN r81160]
2012-11-03 15:16:56 +00:00
Hartmut Kaiser
dfc9377eff
Spirit: fixing some eol inconsistencies.
...
[SVN r81157]
2012-11-03 14:21:02 +00:00
Hartmut Kaiser
4fc9b6950f
Spirit: Applied patch provided by Agustín K-ballo Bergé - thanks!
...
[SVN r81156]
2012-11-03 14:19:54 +00:00
Joel de Guzman
d6019ede00
#7431 Warning fixes in spirit
...
[SVN r80815]
2012-10-02 03:11:48 +00:00
Hartmut Kaiser
5015803741
Merging from trunk
...
[SVN r80282]
2012-08-28 14:53:40 +00:00
Hartmut Kaiser
e7c747b925
Fix #4372 : spirit::info violates STL container requirements
...
[SVN r80121]
2012-08-21 20:04:06 +00:00
Joel de Guzman
5834ea40d5
Fixed char->char_type
...
[SVN r79764]
2012-07-27 01:38:17 +00:00
Joel de Guzman
969698a8ce
Big fix allowing "script" greater that 63
...
[SVN r78524]
2012-05-21 01:17:33 +00:00
Joel de Guzman
7884de5ae6
patches from teejay
...
[SVN r78313]
2012-05-03 00:50:19 +00:00
Joel de Guzman
88d8410203
Reapplying hkaiser's fix
...
[SVN r78206]
2012-04-26 09:23:54 +00:00
Joel de Guzman
8e4a06ab66
Merge from trunk
...
[SVN r78177]
2012-04-24 02:05:47 +00:00
Hartmut Kaiser
f5ec29cfd5
Merging from trunk
...
Fixed #6179 : spirit fatal error: 'boost/endian/integers.hpp' file not found
[SVN r78157]
2012-04-23 12:11:17 +00:00
Hartmut Kaiser
4ab6efc226
Solving the darn endian problem in Spirit once and for all. I should have done this a long time ago.
...
[SVN r78156]
2012-04-23 12:08:56 +00:00
Joel de Guzman
41f73d0ca4
fix assign_to_attribute_from_iterators where Attribute is a container of iterator_range
...
[SVN r77713]
2012-04-02 12:22:30 +00:00
Joel de Guzman
e94213cc2d
Test downstream merge
...
[SVN r77711]
2012-04-02 04:41:54 +00:00
Joel de Guzman
065a76b8b5
test upstream merge
...
[SVN r77710]
2012-04-02 04:40:09 +00:00
Joel de Guzman
003c6950de
Bumped version number to 2.53
...
[SVN r77512]
2012-03-24 08:32:11 +00:00
Joel de Guzman
5a4c19445e
fix for ticket #6714
...
[SVN r77434]
2012-03-20 15:14:44 +00:00
Joel de Guzman
bedb4b7e30
teajay's keyword patches
...
[SVN r77429]
2012-03-20 10:20:16 +00:00
Jürgen Hunold
e718d52cf1
Fix: still no Boost.Endian available
...
[SVN r77400]
2012-03-19 09:57:26 +00:00
Joel de Guzman
46d5263eb6
Removing deprecated headers
...
[SVN r77230]
2012-03-05 14:33:28 +00:00
Joel de Guzman
42bd7448ed
Support for BOOST_SPIRIT_AUTO and qi::copy.
...
[SVN r76960]
2012-02-10 01:58:02 +00:00
Joel de Guzman
bec81f8ead
Support for BOOST_SPIRIT_AUTO and qi::copy.
...
[SVN r76930]
2012-02-07 06:17:47 +00:00
Joel de Guzman
0bf8a800ab
Support for BOOST_SPIRIT_AUTO and qi::copy.
...
[SVN r76928]
2012-02-07 06:12:49 +00:00
Hartmut Kaiser
ef42d4535d
Spirit: Fixed a problem in Karma when a variant holding a container was used as a generator inside a sequence.
...
[SVN r76462]
2012-01-13 18:46:11 +00:00
Hartmut Kaiser
678feb8425
Spirit: merging from trunk
...
[SVN r76386]
2012-01-09 14:36:46 +00:00
Hartmut Kaiser
57046fdbbf
Spirit: fixed #6368 : [multi_pass] clear_queue isn't forwarded to the storage policy
...
[SVN r76384]
2012-01-09 13:53:14 +00:00
Hartmut Kaiser
997501b084
Spirit: fixed karma::subrule
...
[SVN r76382]
2012-01-09 13:51:18 +00:00
Hartmut Kaiser
4cb423d7db
Spirit: Fixing problems in karma::center[] directive
...
[SVN r76381]
2012-01-09 13:47:25 +00:00
Hartmut Kaiser
a2866ebf4e
Spirit: changing c-style cast to static_cast
...
[SVN r76289]
2012-01-03 01:14:27 +00:00
Hartmut Kaiser
ed424f5135
Spirit: fixing signed/unsigned mismatch warning
...
[SVN r76285]
2012-01-03 00:33:33 +00:00
Hartmut Kaiser
32c7a15bd5
Spirit: fixing copy/paste error
...
[SVN r76284]
2012-01-03 00:30:23 +00:00
Hartmut Kaiser
54a5dba46d
Spirit: improving error reporting from lexer tokens
...
[SVN r76248]
2011-12-31 19:39:42 +00:00
Hartmut Kaiser
7d7e4b55bb
Spirit: added a missing typename
...
[SVN r76194]
2011-12-26 18:59:50 +00:00
Hartmut Kaiser
4e636cb8ef
Spirit: fixed spelling ( fixed #6003 : occured is spelled occurred)
...
[SVN r76152]
2011-12-25 18:03:21 +00:00
Hartmut Kaiser
0d39ce2fcf
Spirit: disambiguate cref.
...
[SVN r76046]
2011-12-18 17:41:52 +00:00
Hartmut Kaiser
7261177938
Spirit: fixed #6253 : lex::lexertl::generate_static_dfa compiler errors if lexer has wchar_t as underlying stream type
...
[SVN r75910]
2011-12-12 00:48:40 +00:00
Hartmut Kaiser
30805fa7a7
Spirit: merging endian fix from trunk
...
[SVN r75711]
2011-11-28 13:00:11 +00:00
Hartmut Kaiser
63b6417cee
Spirit: fixing check for Boost version for endian, when will we finally get that library?
...
[SVN r75710]
2011-11-28 12:31:00 +00:00
Joel de Guzman
33028c63d0
+ more get overloads
...
+ returning references instead of values
[SVN r75484]
2011-11-14 10:31:35 +00:00
Hartmut Kaiser
db068a6406
Spirit: adding get<> overload to extended_variant
...
[SVN r75469]
2011-11-12 22:49:34 +00:00
Joel de Guzman
b39d8c5d24
C++11 patches by Michel Morin
...
[SVN r75395]
2011-11-07 22:57:31 +00:00
Hartmut Kaiser
8cfd595355
Spirit: applying Vitaly Budovski's patch adding binary floating point parsers and generators
...
[SVN r75105]
2011-10-24 15:05:44 +00:00
Hartmut Kaiser
3423c9e478
Spirit: merging bugfix from trunk (caused by changes in proto)
...
[SVN r74915]
2011-10-11 11:30:19 +00:00
Joel de Guzman
aaba1378fe
Added rvalue support for symbols %=
...
[SVN r74905]
2011-10-11 00:23:34 +00:00
Hartmut Kaiser
c3ef87d7d7
Spirit: merging to release
...
[SVN r74894]
2011-10-10 13:28:33 +00:00
Hartmut Kaiser
e6ae5de666
Spirit: adding rvalue reference overload for lexer::operator+=(), fixes regressions caused by recent proto changes
...
[SVN r74892]
2011-10-10 12:10:05 +00:00
Joel de Guzman
0e0cacf03c
Added rvalue support for rule %=
...
[SVN r74878]
2011-10-10 07:38:59 +00:00
Joel de Guzman
bbb4b888ab
Added rvalue support for rule %=
...
[SVN r74877]
2011-10-10 06:47:25 +00:00
Joel de Guzman
541462c895
Added rvalue support for rule %=
...
[SVN r74876]
2011-10-10 06:07:35 +00:00
Hartmut Kaiser
a14bf60afd
Spirit: Removing bogus static_assert
...
[SVN r74838]
2011-10-09 02:11:12 +00:00
Hartmut Kaiser
94b84c80eb
typo fix
...
[SVN r74837]
2011-10-09 02:09:12 +00:00
Hartmut Kaiser
0b258c23cc
Adding safe-guards
...
[SVN r74831]
2011-10-09 00:42:35 +00:00
Joel de Guzman
d1c2ad9e6e
seek directive by TONGARI
...
[SVN r74796]
2011-10-08 11:31:20 +00:00
Hartmut Kaiser
c4d7e700f6
Spirit: Merging from trunk
...
[SVN r74359]
2011-09-12 16:53:22 +00:00
Joel de Guzman
6d8fc33f34
Fix Ticket #5867
...
[SVN r74323]
2011-09-08 23:45:47 +00:00
Joel de Guzman
2d6c528fed
Fix Ticket #5867
...
[SVN r74299]
2011-09-08 05:45:28 +00:00
Joel de Guzman
e43fda5e01
Reverting patch. The tests are broken with the patch!
...
[SVN r74293]
2011-09-07 05:08:20 +00:00
Joel de Guzman
5f741d39c1
Applied patch (ticket 5716)
...
https://svn.boost.org/trac/boost/attachment/ticket/5716/spirit_wide_what.patch
[SVN r74292]
2011-09-07 04:02:33 +00:00
Joel de Guzman
0f2b3c49ce
Fixed problem with handling BOOST_FUSION_ADAPT_ADT
...
[SVN r74291]
2011-09-07 03:54:48 +00:00
Hartmut Kaiser
b5a81660c3
Spirit: copyright fixes
...
[SVN r74246]
2011-09-05 22:32:29 +00:00
Hartmut Kaiser
0d75b4307a
Spirit: preparing for the now to be accepted Boost.Endian library
...
[SVN r74245]
2011-09-05 22:31:02 +00:00
Hartmut Kaiser
c9f6844b30
Spirit: Merging from trunk
...
[SVN r74126]
2011-08-29 13:44:45 +00:00
Hartmut Kaiser
f2b627ed99
Spirit: Fixing actions for embedded parsers which synthesize attributes
...
[SVN r74054]
2011-08-24 22:23:51 +00:00
Hartmut Kaiser
5da2335cba
Spirit: adding attribute collapsing for optional<optional<>>
...
[SVN r74053]
2011-08-24 22:22:04 +00:00
Hartmut Kaiser
9263603154
Spirit: fixing compilation error caused by recent Fusion modifications
...
[SVN r74038]
2011-08-24 02:49:27 +00:00
Hartmut Kaiser
796080d08f
Spirit: fixing compilation error
...
[SVN r74037]
2011-08-24 00:39:45 +00:00
Joel de Guzman
f93e41547c
Fix for Trac ticket #5807
...
[SVN r74034]
2011-08-23 23:45:44 +00:00
Hartmut Kaiser
f4e6257019
Spirit: make sure istream_policy checks for eof at construction time
...
[SVN r73651]
2011-08-11 12:03:09 +00:00
Joel de Guzman
5addad34db
support all const/non-const variations for visitor and variant
...
[SVN r73587]
2011-08-07 00:36:47 +00:00
Joel de Guzman
e2e015b170
allow const and non-const visitation
...
[SVN r73586]
2011-08-07 00:29:42 +00:00
Joel de Guzman
e1bbf4c1ae
follow variant API for visitation
...
[SVN r73585]
2011-08-07 00:20:35 +00:00
Joel de Guzman
1e3ba86d2b
fix: apply_visitor must return a value
...
[SVN r73584]
2011-08-07 00:07:33 +00:00
Joel de Guzman
6e75ad85bf
Moved extended_variant into its own file(s)
...
[SVN r73558]
2011-08-06 01:05:27 +00:00
Joel de Guzman
b4ca104a15
Renamed adapted_variant to extended_variant
...
[SVN r73556]
2011-08-06 00:55:25 +00:00
Hartmut Kaiser
9a70126d8c
Spirit: added missing include's
...
[SVN r73550]
2011-08-05 15:45:49 +00:00
Hartmut Kaiser
582694c7a9
Spirit: fixing signed/unsigned comparison warning
...
[SVN r73526]
2011-08-04 13:06:56 +00:00
Hartmut Kaiser
91f8ef32c9
Spirit: disambiguate boost::get in lexer code, add more specializations required for utree integration
...
[SVN r73496]
2011-08-02 18:09:29 +00:00
Joel de Guzman
90731fa6fa
Added support for extended variants
...
[SVN r73457]
2011-07-31 01:10:11 +00:00
Hartmut Kaiser
ee70ad4946
Spirit: Fixed problem in lexer when enabling parser debugging
...
[SVN r73451]
2011-07-30 19:30:54 +00:00
Hartmut Kaiser
e17bb4ed1e
Spirit: fixed #5701 : lexertl token_value_type returns const unused for nonconst ref
...
[SVN r73122]
2011-07-15 17:53:15 +00:00
Hartmut Kaiser
d15911e097
Merging: Fixing endian problem (again, sigh!) Will the endian library be ever part of Boost?
...
[SVN r73090]
2011-07-13 23:59:23 +00:00
Hartmut Kaiser
0438fd3506
Fixing endian problem (again, sigh!) Will the endian library be ever part of Boost?
...
[SVN r73089]
2011-07-13 23:57:01 +00:00
Joel de Guzman
868d123883
patch from Tongari to compile with vc++ 2008.
...
[SVN r73088]
2011-07-13 23:45:16 +00:00
Hartmut Kaiser
47768a3c0a
Merged revision(s) 72586, 72588 from trunk:
...
Spirit: fixing Karma compilation errors with gcc
........
Spirit: refinement of latest bug fix
........
authorized by rene
[SVN r72589]
2011-06-14 17:10:02 +00:00
Hartmut Kaiser
98f302133d
Spirit: refinement of latest bug fix
...
[SVN r72588]
2011-06-14 16:31:35 +00:00
Hartmut Kaiser
4183d79911
Spirit: fixing Karma compilation errors with gcc
...
[SVN r72586]
2011-06-14 15:33:28 +00:00
Hartmut Kaiser
6a766d4ffe
Spirit: merging lexer fixes from trunk
...
[SVN r72422]
2011-06-05 18:28:43 +00:00
Hartmut Kaiser
f58f5ea557
Spirit: adding conjure_lexer example, fixing a couple of lexer bugs
...
[SVN r72410]
2011-06-05 15:10:11 +00:00
Hartmut Kaiser
bdf2e5e4ed
Spirit: merging from trunk
...
[SVN r72367]
2011-06-03 01:16:29 +00:00
Bryce Adelstein-Lelbach
f67ff3198c
Fix streaming operator.
...
[SVN r72343]
2011-06-02 12:26:49 +00:00
Bryce Adelstein-Lelbach
251da99450
Make utree's eval method dispatch properly for utree reference types, make utree's
...
boolean constructor explicit, fix constness problem with utree functions.
[SVN r72317]
2011-06-01 04:49:47 +00:00
Hartmut Kaiser
fed3878da6
Spirit: merging fixed inlining problem from trunk
...
[SVN r72262]
2011-05-29 15:38:00 +00:00
Bryce Adelstein-Lelbach
8f25f55af9
Inline utree operator= to avoid multiple definition errors.
...
[SVN r72257]
2011-05-29 04:54:57 +00:00
Hartmut Kaiser
73803fc2f7
Spirit: merging from trunk
...
[SVN r72253]
2011-05-28 23:21:55 +00:00
Bryce Adelstein-Lelbach
b0ae62bf0b
Fix utree/spirit integration for binary strings.
...
[SVN r72231]
2011-05-27 20:34:38 +00:00
Bryce Adelstein-Lelbach
ecb622ef7d
Use io state savers in utree streaming operations to avoid polluting output
...
streams.
[SVN r72230]
2011-05-27 20:33:57 +00:00
Hartmut Kaiser
18f556a4fe
Spirit: merging from trunk
...
[SVN r72202]
2011-05-27 02:04:28 +00:00
Hartmut Kaiser
d43607f8fe
Spirit: fixed #5566 : Spirit.Lex converting a token to its value in a lexer semantic action fails
...
[SVN r72201]
2011-05-27 02:02:20 +00:00
Hartmut Kaiser
39dc7a7606
Spirit: merging from trunk
...
[SVN r72198]
2011-05-26 22:26:09 +00:00
Bryce Adelstein-Lelbach
fcabd6e2f9
Emit more accurate exceptions when back() or front() is called on an empty utree
...
list.
[SVN r72188]
2011-05-26 18:16:38 +00:00
Bryce Adelstein-Lelbach
dce5d0384d
Fix issue with utree tags on 32bit.
...
[SVN r72117]
2011-05-23 02:30:53 +00:00
Hartmut Kaiser
4f823caaad
Spirit: Fixing mistyped pp constant
...
[SVN r72115]
2011-05-23 02:01:57 +00:00
Hartmut Kaiser
3ce4e53557
Spirit: added position_token type
...
[SVN r72114]
2011-05-23 01:58:19 +00:00
Hartmut Kaiser
b7d8b9b1d8
Spirit: fixing broken #includes
...
[SVN r72112]
2011-05-23 01:56:08 +00:00
Hartmut Kaiser
d842d60abb
Spirit: tweaks to attribute handling
...
[SVN r72111]
2011-05-23 01:55:32 +00:00
Hartmut Kaiser
40558bfa92
Spirit: fixing karma::lazy
...
[SVN r72110]
2011-05-23 01:54:48 +00:00
Hartmut Kaiser
2e7c6c2aaf
Spirit: added missing #include
...
[SVN r72109]
2011-05-22 23:18:59 +00:00
Bryce Adelstein-Lelbach
4cdaf3724c
Add missing include.
...
[SVN r72069]
2011-05-22 07:48:37 +00:00
Bryce Adelstein-Lelbach
a2c1425ea6
remove unnecessary includes.
...
[SVN r72068]
2011-05-21 23:59:56 +00:00
Bryce Adelstein-Lelbach
bdc6857561
Change utree functions to take a utree as a parameter, instead of a scope.
...
Remove scope from Spirit, as it is application specific. Change utree's function
API to take function_base references and pointers by ctor/assignment operator,
instead of just stored_function<> instances, allowing users to derive classes
from function_base and use them with utree. Add an operator() to utree that
aliases utree.eval(), so that utree can be used as a function object. Allow both
a utree& and a utree const& to be passed as a parameter to a utree function object.
[SVN r72067]
2011-05-21 23:58:19 +00:00
Joel de Guzman
d925fcd59e
refactoring tweaks
...
[SVN r72041]
2011-05-19 02:39:14 +00:00
Joel de Guzman
258775ab02
Fixed bug where lazy_parser and lazy_directive are not respecting the auto rule.
...
[SVN r72040]
2011-05-19 02:01:57 +00:00
Bryce Adelstein-Lelbach
8306bcb237
Allow tags for strings.
...
[SVN r71999]
2011-05-16 20:27:26 +00:00
Hartmut Kaiser
e52e653fc7
Spirit, Phoenix: mergine from trunk for BoostCon
...
[SVN r71925]
2011-05-13 19:14:18 +00:00
Hartmut Kaiser
123c031726
Spirit:: disambiguating result_of
...
[SVN r71920]
2011-05-13 16:47:32 +00:00
Hartmut Kaiser
13c7383f14
Spirit:: disambiguating result_of
...
[SVN r71919]
2011-05-13 16:46:43 +00:00
Hartmut Kaiser
d3c5142d17
Spirit: merging fix from trunk
...
[SVN r71670]
2011-05-02 14:50:05 +00:00
Hartmut Kaiser
8f2cfb5f6a
Spirit: adding missing typename
...
[SVN r71662]
2011-05-02 11:08:53 +00:00
Hartmut Kaiser
ce5138631f
Spirit: merging from trunk
...
[SVN r71643]
2011-05-01 02:00:27 +00:00
Hartmut Kaiser
102a10c40f
Spirit: fixing an issue in Qi with adapted ADTs
...
[SVN r71630]
2011-04-30 17:33:35 +00:00
Hartmut Kaiser
93d03ae8ad
Spirit: fixing regression tests failing for gcc
...
[SVN r71627]
2011-04-30 15:44:36 +00:00
Thomas Heller
8cf21d42cd
[spirit] fixed issue with phoenix V3 and no predefined terminals
...
[SVN r71624]
2011-04-30 14:41:51 +00:00
Hartmut Kaiser
d0a00913d3
Spirit: merging from trunk
...
[SVN r71576]
2011-04-28 22:43:33 +00:00
Hartmut Kaiser
a6dbed96cb
Spirit: another fix for qi numerics
...
[SVN r71555]
2011-04-28 02:44:20 +00:00
Hartmut Kaiser
fe0e87d12c
Spirit: fixing Karma for BOOST_SPIRIT_NO_PREDEFINED_TERMINALS
...
[SVN r71503]
2011-04-26 12:54:45 +00:00
Joel de Guzman
8e3ef5fe7e
Minor tweaks
...
[SVN r71399]
2011-04-21 05:13:30 +00:00
Joel de Guzman
871ad02c8c
Better static error handling for rules
...
[SVN r71377]
2011-04-19 05:11:04 +00:00
Hartmut Kaiser
60d8901c66
Spirit: merging fixes from trunk
...
[SVN r71375]
2011-04-19 01:31:14 +00:00
Hartmut Kaiser
e1ceb64f5a
Spirit: more karma adapted ADT problems fixed, full radix range for karma::uint_generators
...
[SVN r71372]
2011-04-18 17:08:57 +00:00
Hartmut Kaiser
c43b1a6458
Spirit: reduced he amount of preprocessing done in the new uint radix code
...
[SVN r71367]
2011-04-17 23:14:01 +00:00
Hartmut Kaiser
aa666a9f37
Spirit: merging fixes from trunk
...
[SVN r71355]
2011-04-17 16:46:20 +00:00
Hartmut Kaiser
962b5862d4
Spirit: fixing another problem with adapted ADTs related to numerics
...
[SVN r71353]
2011-04-17 15:46:28 +00:00
Hartmut Kaiser
260e21cf53
Spirit: applying patch to allow for arbitrary radicies while parsing unsigned numbers
...
[SVN r71347]
2011-04-17 02:55:36 +00:00
Hartmut Kaiser
c32b8b374b
Spirit: merging from trunk
...
[SVN r71306]
2011-04-16 02:16:56 +00:00
Hartmut Kaiser
575df4e144
Spirit: fixing more problems with using adapted ADTs in Kamra
...
[SVN r71305]
2011-04-16 02:10:11 +00:00
Bryce Adelstein-Lelbach
17292f54b3
Implement more expressive utree diagnostics.
...
[SVN r71292]
2011-04-15 16:27:42 +00:00
Hartmut Kaiser
3a3be3f54d
Spirit: merging minor fix from trunk
...
[SVN r71272]
2011-04-15 13:47:17 +00:00
Hartmut Kaiser
9a06ac3bc5
Spirit: changed reference to std::wstring into std::basic_string<wchar_t>
...
[SVN r71270]
2011-04-15 13:12:14 +00:00
Bryce Adelstein-Lelbach
a23a191569
Remove utree's operator[], add spirit::get().
...
[SVN r71254]
2011-04-14 17:36:25 +00:00
Hartmut Kaiser
c1d9fec4e6
Spirit: merging Phoenix V3 support from trunk
...
[SVN r71243]
2011-04-14 14:12:45 +00:00
Hartmut Kaiser
fd86ee4cb6
Spirit: refactoring some of the numeric helpers into customization points
...
[SVN r71242]
2011-04-14 13:05:18 +00:00
Joel de Guzman
002fe49192
fixups
...
[SVN r71235]
2011-04-14 00:39:58 +00:00
Joel de Guzman
b3a271fc91
Arbitrary radix feature for uints
...
[SVN r71234]
2011-04-14 00:34:22 +00:00
Hartmut Kaiser
602dbc6e34
Spirit: adding missing numeric CP specializations for adapted ADTs
...
[SVN r71230]
2011-04-13 21:53:36 +00:00
Thomas Heller
b3678abf1d
[phoenix]
...
- Added documention for the function adaption macros
- Added the What's new section
- Fixed some bugs
- Added basic support for phx2 result type deduction, not in production yet
[spirit]
- Made necessary changes that reflect latest phoenix internal changes
[SVN r71227]
2011-04-13 19:09:59 +00:00
Hartmut Kaiser
ee1c4791b6
Spirit: fixing the unescaped_string example
...
[SVN r71202]
2011-04-12 14:52:14 +00:00
Hartmut Kaiser
4a7abcf290
Spirit: adding Phoenix V3 limits.hpp to allow for flawless definition of all required LIMITS
...
[SVN r71192]
2011-04-11 18:49:21 +00:00
Joel de Guzman
97baf5bbe2
Fixes http://boost.2283326.n4.nabble.com/Grammar-stopped-compiling-on-more-recent-spirit-version-td3432652.html
...
[SVN r71099]
2011-04-08 00:21:12 +00:00
Hartmut Kaiser
af164e831c
Spirit: merging from trunk (71077,71080)
...
[SVN r71082]
2011-04-07 14:51:35 +00:00
Hartmut Kaiser
155f993c74
Spirit: fixing assertions in error_handler when used with multi_pass
...
[SVN r71077]
2011-04-07 12:19:28 +00:00
Thomas Heller
2a0f38512f
[spirit]
...
Fixed MSVC non template custom terminal
[SVN r71030]
2011-04-06 12:36:16 +00:00
Hartmut Kaiser
ffeeda55c7
Spirit: fixed yet another attribute handling problem
...
[SVN r70843]
2011-04-02 02:55:22 +00:00
Bryce Adelstein-Lelbach
fb75e1cb45
Fixing issue in utree.tag().
...
[SVN r70840]
2011-04-01 23:16:37 +00:00
Hartmut Kaiser
d6690e7ca6
Spirit: merging from trunk (70820)
...
[SVN r70821]
2011-04-01 16:06:16 +00:00
Hartmut Kaiser
e7e5e61d56
Spirit: fixing lexer example6.cpp
...
[SVN r70820]
2011-04-01 16:02:27 +00:00
Hartmut Kaiser
7605dc155a
Spirit: adding workaround for gcc 4.2.1
...
[SVN r70814]
2011-04-01 11:43:37 +00:00
Hartmut Kaiser
6539177b07
Spirit: merging from trunk (70801)
...
[SVN r70803]
2011-04-01 00:29:11 +00:00
Hartmut Kaiser
f27c584d15
Spirit: fixing an issue with alternatives inside container components
...
[SVN r70801]
2011-04-01 00:14:50 +00:00
Hartmut Kaiser
2e2af45476
Spirit: removing superfluous typename
...
[SVN r70747]
2011-03-30 11:13:50 +00:00
Hartmut Kaiser
ff02f5751c
Spirit: more fixes for Phoenix V3
...
[SVN r70696]
2011-03-29 14:25:46 +00:00
Hartmut Kaiser
2afde11ef5
Spirit: more adjustments for Phoenix V3
...
[SVN r70687]
2011-03-29 00:11:41 +00:00
Hartmut Kaiser
bfa2234113
Spirit: merging from trunk (70605, 70638, 70655)
...
[SVN r70657]
2011-03-28 02:47:59 +00:00
Hartmut Kaiser
400a764d61
Spirit: patch allowing to use Spirit with Phoenix V3
...
[SVN r70656]
2011-03-28 02:37:31 +00:00
Hartmut Kaiser
cd74cfba7e
Spirit: fixing a container attribute handling problem
...
[SVN r70655]
2011-03-28 02:10:42 +00:00
Hartmut Kaiser
c3cedb02c8
Spirit: merging fixed version number from trunk
...
[SVN r70632]
2011-03-27 14:10:55 +00:00
Hartmut Kaiser
e4e9dcd72f
Spirit: fixing version number
...
[SVN r70629]
2011-03-27 13:52:10 +00:00
Hartmut Kaiser
e342e00d02
Spirit: applied Thomas Heller's patch fixing a bunch of warnings
...
[SVN r70605]
2011-03-26 23:48:38 +00:00
Hartmut Kaiser
f886839849
Spirit: bumping version number for release
...
[SVN r70580]
2011-03-26 17:23:02 +00:00
Hartmut Kaiser
26b32e446c
Spirit: bumping version number for release
...
[SVN r70579]
2011-03-26 17:20:17 +00:00
Hartmut Kaiser
bbae951d12
Spirit: merging from trunk (68457,68496,68522,68865,69218-69219,69294,69476,69546,70042-70043,70049-70050
...
68320,68374,68377,68386,68449,68461,68485,68487,68489,68491,68494-68495
68519-68520,68523,68536,68538-68539,68548-68549,68576,68645-68646,68657,68676
68687,68690,68707,68725,68744-68746,68852-68853,68861,68870,68904,68906-68908
68938,68989,69020,69022-69024,69091-69092,69103-69104,69114,69136,69138,69193
69202,69204,69233,69292-69293,69295,69297-69298,69323,69337,69378-69380,69405,69429,69431-69433,69444,69450
69495-69498,69501,69503,69505,69527,69599,69618,69623,69670-69671,69673,69675,69772-69774,69780
69811,69813-69814,69833,69851,70045,70211-70216,70224-70225,70483,70549-70550
Fusion: 69113,69118,69137,69583,69589,70008-70009)
[SVN r70574]
2011-03-26 17:09:12 +00:00
Hartmut Kaiser
b64ccad626
Spirit: fixing stream parser
...
[SVN r70570]
2011-03-26 16:58:48 +00:00
Hartmut Kaiser
ea39044fe9
Spirit: fixing iterator handling in stream parser
...
[SVN r70549]
2011-03-26 00:55:03 +00:00
Hartmut Kaiser
e3568a8528
Spirit: fixing warnings, etc.
...
[SVN r70483]
2011-03-23 16:51:58 +00:00
Hartmut Kaiser
1979918b83
Spirit: Merging from trunk
...
[SVN r70307]
2011-03-21 11:15:14 +00:00
Hartmut Kaiser
277947fd05
Spirit: boost::endian is still not in SVN
...
[SVN r70306]
2011-03-21 11:08:18 +00:00
Hartmut Kaiser
33ccba6f3a
Spirit: comment fixes, minor adjustments
...
[SVN r70225]
2011-03-20 18:25:44 +00:00
Hartmut Kaiser
0ec6a89ec5
Spirit: new container attribute handling for Karma, aligned with latest changes to Qi, minor tweaks to attribute handling in Qi, added comments, etc.
...
[SVN r70224]
2011-03-20 18:23:49 +00:00
Hartmut Kaiser
d524560e06
Spirit: fixed utree handling for variant attributes
...
[SVN r70216]
2011-03-20 02:26:58 +00:00
Hartmut Kaiser
017903d6cf
Spirit: fixing bogus constructor call to char_token_def
...
[SVN r70215]
2011-03-20 02:18:24 +00:00
Hartmut Kaiser
7fd0c31ffc
Spirit: adding a workaround for strange behavior of fusion::vector, which is default constructible from any single type as long as that is convertible to the first type in the vector.
...
[SVN r70214]
2011-03-20 02:06:25 +00:00
Joel de Guzman
6407de20c0
patch from teejay
...
[SVN r70213]
2011-03-20 00:02:11 +00:00
Hartmut Kaiser
1cd6547388
Spirit: more work on Qi container attributes
...
[SVN r70211]
2011-03-19 23:42:09 +00:00
Hartmut Kaiser
5c3ab7c5a1
Spirit: fixing problem in sequence attribute handling if symbols components are involved
...
[SVN r70042]
2011-03-17 00:06:17 +00:00
Hartmut Kaiser
ac34961c36
Spirit: fixing gcc compilation problem
...
[SVN r69851]
2011-03-11 16:57:10 +00:00
Hartmut Kaiser
8483d78f97
Spirit: adding possibility to specify token id with lex::char_ and lex::string
...
[SVN r69833]
2011-03-10 22:29:40 +00:00
Joel de Guzman
9cb815d51b
fixes bug_march_10_2011_8_35_am in alternative.cpp test
...
[SVN r69811]
2011-03-10 00:39:17 +00:00
Hartmut Kaiser
95e1432c0c
Spirit: fixing attribute problem in new assign_value_to_container CP
...
[SVN r69772]
2011-03-09 14:34:51 +00:00
Joel de Guzman
5ef8b7cd7a
keywords missing files
...
[SVN r69670]
2011-03-08 02:15:06 +00:00
Hartmut Kaiser
5b2323bc61
Fixed #5247 : mmap_file_iterator Copies String Argument
...
[SVN r69546]
2011-03-04 13:03:30 +00:00
Hartmut Kaiser
418fd94ddb
Spirit: fixed compilation issue in attribute handling code
...
[SVN r69527]
2011-03-03 18:49:26 +00:00
Joel de Guzman
be61a0c125
teejay's keyword directive
...
[SVN r69505]
2011-03-03 00:40:18 +00:00
Joel de Guzman
c5ea700755
Added DEBUG_NODES and sucess_handler.
...
[SVN r69501]
2011-03-03 00:26:00 +00:00
Hartmut Kaiser
2f949835d8
Spirit: reverting accidental commit
...
[SVN r69497]
2011-03-02 23:41:45 +00:00
Hartmut Kaiser
3f791745e3
Spirit: added handling of variants to the new attribute handling
...
[SVN r69496]
2011-03-02 23:38:30 +00:00
Hartmut Kaiser
89b05ff46d
Spirit: added handling of variants to the new attribute handling
...
[SVN r69495]
2011-03-02 23:37:52 +00:00
Hartmut Kaiser
aeb773ecf4
Fixed #5246 : mmap_file_iterator Fails to Initialize Correctly
...
[SVN r69476]
2011-03-02 12:29:17 +00:00
Hartmut Kaiser
a8e9de3326
Spirit: decorating function calls for disambiguation
...
[SVN r69431]
2011-03-01 03:30:14 +00:00
Hartmut Kaiser
7c324eef45
Spirit: fixing container attribute handling of sequences and container parser components
...
[SVN r69405]
2011-02-28 22:43:13 +00:00
Hartmut Kaiser
c5599510e9
Spirit: lexer tweaks
...
[SVN r69294]
2011-02-26 04:12:08 +00:00
Hartmut Kaiser
d789cceec7
Spirit: added context to top level APIs
...
[SVN r69292]
2011-02-26 04:05:11 +00:00
Hartmut Kaiser
a725d48279
Spirit: Fixing obscure bug in qi::attr()
...
[SVN r69218]
2011-02-23 20:08:35 +00:00
Joel de Guzman
95df416cb4
tweaks for qi and karma: option to have no predefined terminals
...
[SVN r69193]
2011-02-23 00:39:39 +00:00
Joel de Guzman
db8872d1ca
added option to have no predefined terminals _1..._N _j, _val, etc.
...
[SVN r69136]
2011-02-22 01:28:11 +00:00
Joel de Guzman
93b6b954d6
reverting 69103
...
[SVN r69114]
2011-02-21 01:31:56 +00:00
Hartmut Kaiser
0b02b87f45
Spirit: Fixed a warning about class/struct mismatch
...
[SVN r69104]
2011-02-20 20:46:56 +00:00
Hartmut Kaiser
c3bd4db100
Spirit: removing reference to not existing header file (this broke all of Spirit)
...
[SVN r69103]
2011-02-20 20:37:46 +00:00
Hartmut Kaiser
1252a08c2b
Spirit: fixed karma::repeat to use the new attribute propagation scheme as well
...
[SVN r69091]
2011-02-20 19:26:24 +00:00
Joel de Guzman
95d6f1fae0
Tweaks. Allow attribute compatibility on alternatives
...
[SVN r69022]
2011-02-19 09:14:26 +00:00
Joel de Guzman
3d0e657f08
Allow attribute compatibility on alternatives
...
[SVN r69020]
2011-02-19 02:13:03 +00:00
Joel de Guzman
6ec7f9bb32
Allow attribute compatibility with semantic actions
...
[SVN r68908]
2011-02-15 03:35:41 +00:00
Joel de Guzman
3476418d4c
Allow attribute compatibility with semantic actions
...
[SVN r68907]
2011-02-15 03:20:29 +00:00
Hartmut Kaiser
e9f97ac9ac
Spirit: added comptibility macros for older code still using BOOST_SPIRIT_TERMINAL[_EX]
...
[SVN r68870]
2011-02-14 19:25:09 +00:00
Hartmut Kaiser
7e8cd823df
Spirit: disambiguated boost::optional
...
[SVN r68865]
2011-02-14 16:54:05 +00:00
Hartmut Kaiser
7c93491cbb
Spirit: Added utree traits forwarding header
...
[SVN r68861]
2011-02-14 13:22:56 +00:00
Hartmut Kaiser
0d57ee6906
Spirit: extending usage of BOOST_SPIRIT_NO_PREDEFINED_TERMINALS to all Karma components
...
[SVN r68853]
2011-02-13 20:47:46 +00:00
Hartmut Kaiser
0dc2bc3fc6
Spirit: fixing a kleene/sequence attribute issue
...
[SVN r68852]
2011-02-13 20:43:52 +00:00
Joel de Guzman
fa2c1aad8e
added option to have no predefined terminals
...
[SVN r68745]
2011-02-09 10:47:49 +00:00
Hartmut Kaiser
779975c25e
Spirit: added missing CP specializations
...
[SVN r68725]
2011-02-08 17:32:06 +00:00
Hartmut Kaiser
e77e112383
Spirit: fixed spelling in comments
...
[SVN r68690]
2011-02-07 13:41:52 +00:00
Hartmut Kaiser
09bb853789
Spirit: fixing handling for container attributes in parser sequences
...
[SVN r68687]
2011-02-07 01:25:22 +00:00
Hartmut Kaiser
cda73af00f
Spirit: fixing basic_hold_any<> for wchar_t
...
[SVN r68676]
2011-02-06 18:58:59 +00:00
Hartmut Kaiser
78be66628e
Spirit: adding missing file
...
[SVN r68657]
2011-02-05 16:24:19 +00:00
Hartmut Kaiser
3fc4ceb718
Spirit: unified handling of sequences and container components for container attributes, modified hold_any to enable streaming with wchar_t, added extract_from_container CP, fixed integral generators for const data types
...
[SVN r68645]
2011-02-05 03:48:49 +00:00
Bryce Adelstein-Lelbach
31ae946ef9
Fix for broken utree logical operations.
...
[SVN r68576]
2011-01-31 05:31:55 +00:00
Bryce Adelstein-Lelbach
dc09ed9169
Added support for storing function references in utree.
...
[SVN r68549]
2011-01-29 18:58:27 +00:00
Bryce Adelstein-Lelbach
2dc2b15309
Changed commented qbk markup for line_pos_iterator (regenned docs already committed).
...
[SVN r68548]
2011-01-29 18:57:04 +00:00
Bryce Adelstein-Lelbach
6091ac3252
Change 'invalid_type' to invalid_type
in commented quickbook markup.
...
[SVN r68536]
2011-01-29 00:05:47 +00:00
Bryce Adelstein-Lelbach
5ef613e353
Removed unnecessary overload for the std::basic_string<> overload of
...
extract_c_string, added embedded char_type typedef to extract_c_string
specializations that were missing it.
[SVN r68494]
2011-01-27 22:59:14 +00:00
Bryce Adelstein-Lelbach
5a30752baa
Added regression tests and fixes for Spirit.Qi numeric literal alternatives issue.
...
[SVN r68487]
2011-01-27 20:30:12 +00:00
Hartmut Kaiser
f3e3c8469b
Spirit: adding advance parser component to Spirit repository
...
[SVN r68461]
2011-01-27 01:09:54 +00:00
Hartmut Kaiser
f1552bebf5
Spirit: fixing const correctness bug in Karma real_policies
...
[SVN r68457]
2011-01-26 18:03:45 +00:00
Hartmut Kaiser
f7ec21892b
Spirit: removing utree from release branch
...
[SVN r68409]
2011-01-24 02:04:39 +00:00
Hartmut Kaiser
19d4107ecc
Phoenix: suppressing (MSVC) warning about multiple assignment operators
...
[SVN r68386]
2011-01-23 16:09:44 +00:00
Joel de Guzman
a7d7f527eb
Added default construction of values + assignment operator for actors.
...
[SVN r68377]
2011-01-23 10:49:16 +00:00
Joel de Guzman
9799b5c120
Added default construction of values + assignment operator for actors.
...
[SVN r68374]
2011-01-22 23:08:10 +00:00
Joel de Guzman
9a1d2e7d2c
removed unnecessary private assignment operator
...
[SVN r68320]
2011-01-20 13:03:42 +00:00
Hartmut Kaiser
5368650377
Spirit: merging from trunk
...
[SVN r68198]
2011-01-17 02:29:15 +00:00
Joel de Guzman
b27d004dfd
applying 'inline' patch to numerics
...
[SVN r68196]
2011-01-17 00:10:17 +00:00
Bryce Adelstein-Lelbach
63eea24818
Workaround regressions introduced in Karma by r68177; add asserts to karma::as
...
and qi::as.
[SVN r68180]
2011-01-16 06:28:23 +00:00
Bryce Adelstein-Lelbach
588f73fc34
Fixed typo.
...
[SVN r68171]
2011-01-15 15:03:34 +00:00
Steven Watanabe
2adcb7862b
Revert [67111] (addition of boost/detail/iomanip.hpp) and all the commits that depend on it. ([68137], [68140], [68141], [68154], and [68165]).
...
[SVN r68168]
2011-01-15 08:11:51 +00:00
Hartmut Kaiser
984bd64e97
Spirit: added explicit name() to symbols
...
[SVN r68167]
2011-01-15 02:54:22 +00:00
Bryce Adelstein-Lelbach
51ab66858a
Docs for karma::as, more utree docs.
...
[SVN r68163]
2011-01-14 23:15:23 +00:00