Commit Graph

901 Commits

Author SHA1 Message Date
Joel de Guzman
571a928ac6 Merge pull request #216 from Kojoley/fix-bool-increment-warning
Karma.Tests: Fixed bool increment warning
2016-08-26 06:03:58 +08:00
Joel de Guzman
e5a1a06c73 Merge pull request #214 from Kojoley/fix-lex-regression_wide-warnings
Lex.Tests: Fixed multiple warning from `regression_wide` test
2016-08-26 05:51:51 +08:00
Nikita Kniazev
18324547c6 Karma.Tests: Fixed bool increment warning 2016-08-25 23:29:17 +03:00
Nikita Kniazev
bab7a9f38c Karma.Tests: Fixed unused variables warning from pattern4 test 2016-08-25 22:31:10 +03:00
Nikita Kniazev
20e588242e Lex.Tests: Fixed unused variables warning from tokendedent_handling_phoenix test 2016-08-25 22:31:10 +03:00
Nikita Kniazev
15a0012863 Lex.Tests: Fixed unused variables warnings from token_iterpair test 2016-08-25 22:31:10 +03:00
Nikita Kniazev
532c0e6fbe Lex.Tests: regression_wide: comparison between signed and unsigned
> lex/regression_wide.cpp:70:51: warning: comparison between signed and
> unsigned integer expressions [-Wsign-compare]
>          BOOST_TEST(data[sequence_counter].tokenid == tokenid);
                                                   ^
2016-08-25 21:04:24 +03:00
Nikita Kniazev
894ea490f7 Lex.Tests: regression_wide: Fixed initialization order
> lex/regression_wide.cpp:93:11: warning: field 'constant' will be
> initialized after field 'operation' [-Wreorder]
>         , constant  (L"[0-9]+(\\.[0-9]+)?", ID_CONSTANT)
>           ^
2016-08-25 21:04:24 +03:00
Nikita Kniazev
a7927b15ef Lex.Tests: regression_wide: unused typedef 'iterator_type'
> lex/regression_wide.cpp:122:52: warning:
> unused typedef 'iterator_type' [-Wunused-local-typedef]
>     typedef mega_tokens<lexer_type>::iterator_type iterator_type;
2016-08-25 21:04:24 +03:00
Nikita Kniazev
10a0fc449e Lex.Tests: regression_wide: sequence_counter signed and unsigned comparison
> lex/regression_wide.cpp:69:37: warning: comparison between signed
> and unsigned integer expressions [-Wsign-compare]
>          BOOST_TEST(sequence_counter < sizeof(data)/sizeof(data[0]));
2016-08-25 21:04:24 +03:00
Nikita Kniazev
1c243703b4 Tests: Fix warnings from support/utree.cpp test
> warning: logical not is only applied to the left
> hand side of comparison [-Wlogical-not-parentheses]
2016-08-25 17:43:07 +03:00
Nikita Kniazev
5e56037366 Karma.Tests: Added regression_real_policy_sign.cpp to test suite
The test was added in 90d65d4be7,
but still is not used in the test suite.
2016-08-17 23:04:06 +03:00
Nikita Kniazev
1ee3b7c18c Qi.Tests: Wrap r1 = r1 | eps with SPIRIT_NO_COMPILE_CHECK macro
Logic of the test is to prevent direct left recursion, but
currently because of it `b2` fails to compile `alternative.cpp`.

I have wrapped the case with `SPIRIT_NO_COMPILE_CHECK` like it
has been done in `char1.cpp` and `sequence.cpp` tests.

Actually the test fails at compilation only with std >= c++11,
but passes with std <= c++03.
2016-08-17 20:50:32 +03:00
Joel de Guzman
b328180b49 Merge pull request #191 from jefftrull/bugfix/12138
Repair plain_token_range and add tests
2016-08-06 06:19:09 +08:00
mxc-commons
88f494cb0d Fixes for PR #196 expect directive
This PR contains fixes for both issues reported by Lastique and
MarcelRaad. It makes PR #197 obsolete.

Removed obsolete dependency  of test/qi/expectd.cpp on
mxc/qitoo/qitoo.hpp. Was reintroduced by mistake.

Created qi/detail/expectation_failure.hpp. It defines the
expectation_failure template as a common dependency of expect directive
and expect operator. Removed expectation_failure from
operator/expect.hpp.

Changed version.hpp to 2.54. I did not notice that addl file in the
first place.
2016-07-19 16:42:03 +02:00
mxc-commons
aed96ba915 spirit 2 expect directive
Initial commit.
2016-07-07 00:49:18 +02:00
Jeff Trull
4c073d8891 remove excess includes and turn off debugging 2016-05-16 18:13:02 -07:00
Jeff Trull
8ac0d9b98b Fix plain_token_range and add a test for plain tokens 2016-05-16 18:11:02 -07:00
Jeff Trull
713ccb37c5 remove excess includes 2016-05-16 13:38:36 -07:00
Jeff Trull
b01b402577 Make multi_pass_iterator != operator const and add tests for istream_iterator 2016-05-16 13:36:00 -07:00
mgresens
de81dc44dd Using boost TTI library to replace hand-written TTI code. 2016-04-01 13:51:59 +02:00
Joel de Guzman
b818ca5c8d - added x3 variant test
- added x3 variant, extended variant swap member function
2016-03-30 14:06:06 +08:00
Joel de Guzman
378142659c Some cleanup 2016-03-30 06:22:47 +08:00
Joel de Guzman
76c57b6005 call c.insert(iter, f, l) or c.inser(f, l) as appropriate depending on container type. 2016-03-28 11:56:21 +08:00
Mikhail Strelnikov
a579e31229 add test case 2016-03-27 07:19:55 +03:00
octopus-prime
81c37ba431 Cleaned up tests. 2016-01-30 11:11:07 +01:00
octopus-prime
e94e7dcc12 Added static asserts for testing has_reserve_method of common
containers.
2016-01-28 09:36:35 +01:00
octopus-prime
dd80f32e5c Renamed test_container_support() to test_sequence_support(). 2016-01-26 20:10:54 +01:00
octopus-prime
2cd5e66cbf Renamed test.
Added tests for:
<map>
<unordered_map>
<boost/unordered_map.hpp>
<vector>
<list>
<deque>
<set>
<unordered_set>
<boost/unordered_set.hpp>
<string>
2016-01-26 19:55:11 +01:00
octopus-prime
793ec4292c Added test for map support. 2016-01-25 19:51:11 +01:00
Joel de Guzman
25c00abf36 disabling test for ascii>127 for now 2015-11-10 08:27:16 +08:00
Joel de Guzman
df92cb5c98 ascii char_type is now unsigned to allow 8 bits (reverted from commit 638e4ab54a) 2015-11-10 08:02:58 +08:00
Hartmut Kaiser
509b0891d7 Merge pull request #144 from vtnerd/BugFix_DuplicateAttribute
Fixed bug in karma::duplicate attribute reporting
2015-11-04 20:47:28 -06:00
Joel de Guzman
638e4ab54a ascii char_type is now unsigned to allow 8 bits 2015-11-03 09:56:14 +08:00
Joel de Guzman
72c8428090 ascii char parsers now fails instead of asserts. 2015-11-02 14:48:54 +08:00
Adrian Vogelsgesang
99c679026a X3: test case for expect directive with nested kleene star
This testcase tries to use a kleene star within an expect directive.
The test compiles but the parsed attribute is not as expected.
2015-08-20 00:31:24 +02:00
Adrian Vogelsgesang
856f88f5d1 X3: test case for char_range boundaries
ticket: https://svn.boost.org/trac/boost/ticket/11531
2015-08-09 15:37:18 +02:00
Lee Clagett
e16bec0aef Fixed bug in karma::duplicate attribute reporting 2015-07-30 23:30:33 -04:00
Lee Clagett
e09cc45812 Fixed modifier bug with karma::left_align 2015-07-20 22:57:03 -04:00
Mario Lang
b42df6fe50 X3: Fix parse_sequence with variant_attribute. 2015-07-06 23:12:48 +02:00
Mario Lang
6846946823 X3: Make use of Fusion member type deduction to simplify examples. 2015-06-15 22:30:00 +02:00
Mario Lang
f8adee2ced X3: Add test for the fix in 2a94b18e97. 2015-06-03 16:35:10 +02:00
Joel de Guzman
0a7fadd838 Merge pull request #104 from teajay-fr/feature/x3_binary
Add support for the binary parsers
2015-05-27 14:08:49 +08:00
Thomas Bernard
d5f1197790 Add support for the binary parsers 2015-05-23 15:26:45 +02:00
Mario Lang
ad507e4da1 Fix include paths.
Now the x3 testsuite builds again.
2015-05-22 09:05:47 +02:00
Mario Lang
10c13779b3 Rename {directive => extensions}/matches.hpp. 2015-05-21 22:25:37 +02:00
Mario Lang
dc4c7f824e x3::matches. 2015-05-21 21:21:31 +02:00
Mario Lang
705524b1e1 X3: no_case *is* implemented. 2015-05-20 00:07:34 +02:00
Joel de Guzman
3627a46902 more test updates and cleanup 2015-05-14 07:40:18 +08:00
Joel de Guzman
0adee06b27 cleaning up the tests 2015-05-14 02:13:24 +08:00
Joel de Guzman
c5fe8848ce added explicit force_attribute bool template parameter to rule 2015-04-08 14:34:29 +08:00
Joel de Guzman
67854cb26e Merge pull request #55 from mlang/x3/test/optional-omit
Re-enable the use of omit in test/x3/optional.cpp.
2014-11-22 01:22:24 +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
27d8c7e2f4 Merge pull request #67 from teajay-fr/bug/gcc_4.9.1_support
Change the language feature set option for gcc
2014-11-06 08:45:53 +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
8237380a16 Change the language feature set option for gcc 2014-11-06 00:34:39 +01: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
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
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
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
89cb0c3b69 Remove the development target 2014-10-12 14:11:18 +00:00
Thomas Bernard
60cca11616 Implement the no case directive for the symbols parser 2014-10-12 14:10:03 +00:00
Thomas Bernard
eb9f42adc7 Reactivate some test which pass 2014-10-07 23:25:45 +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
aa7ca423e4 Add the no_case context to the any_parser tests 2014-10-06 23:10:46 +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
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
Mario Lang
707ae80ce7 Re-enable the use of omit in test/x3/optional.cpp. 2014-09-13 09:52:22 +02:00
Thomas Bernard
5a74952057 Add no case directive 2014-09-09 22:26:41 +00:00
Thomas Bernard
89d14edb05 Add no_case test cases 2014-09-08 22:05:52 +00:00
Joel de Guzman
31f4416286 added tests for DBL_MAX, DBL_EPSILON, DBL_MIN and DBL_DENORM_MIN 2014-09-05 11:45:45 +08:00
Joel de Guzman
5b5ccf2e49 fixes Ticket #10193 2014-08-11 17:52:24 +08:00
Joel de Guzman
d2afc02c2d - temporarily disabling some karma tests
- wrapped the affected tests in #if defined(BOOST_SPIRIT_ZERO_PROBLEM)
2014-07-15 11:08:13 +08:00
Joel de Guzman
bcd6f561ad Merge branch 'develop' 2014-07-10 08:07:16 +08:00
Tomoki Imai
f84d869ec8 Change from BOOST_TEST to BOOST_TEST_EQ for better information. 2014-06-16 13:44:16 +09:00
Tomoki Imai
e203a7c95d add line to run support/regression_line_pos_iterator.cpp 2014-06-14 18:55:44 +09: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
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
e95d80d682 added bool.cpp test 2014-06-07 08:23:32 +08: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
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
a70a53e856 Merge branch 'x3-devel' 2014-05-27 13:22:18 +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
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
571fcb07ba fixed for new on_error interface 2014-05-25 08:34:38 +08:00
Joel de Guzman
913a092ee6 reverting previous mistakes 2014-05-25 08:29:56 +08:00
Joel de Guzman
1a960e4bba All tests are now passing. 2014-05-17 09:25:06 +08:00
Joel de Guzman
0e47e08037 added rcontext argument to parse functions 2014-05-15 21:46:25 +08:00
Lee Clagett
b77ab8b3d1 Adding test_failure to x3 test framework
The new test_failure function ensures that the first iterator argument
remains at the start position when parsing fails.
2014-05-11 10:14:41 -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
Thomas Bernard
642a70afb8 Revert unwanted changes 2014-05-07 17:00:16 +02:00
Thomas Bernard
a5e1c57350 Add repeat directive 2014-05-07 16:43:12 +02: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
Joel de Guzman
a129355f3e implemented raw directive 2014-05-02 10:53:16 +08:00
Joel de Guzman
f9e3f874cc porting calc7 to x3 2014-05-02 08:58:53 +08:00
Joel de Guzman
7f111eb070 added with directive 2014-05-02 08:30:37 +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
Joel de Guzman
4fedf68181 Merge branch 'origin/x3-devel' 2014-04-23 07:28:10 +08:00
K-ballo
ad772933a7 Added type-erased parser, tests and examples 2014-04-22 13:55:08 -03:00
K-ballo
955fa54406 Added type-erased parser, tests and examples 2014-04-22 12:47:04 -03:00
Joel de Guzman
dc5d47814e various sequence handling fixes 2014-04-20 11:07: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
831104d38c Removed some unnecessary namespacing aliasing in tests. 2014-04-16 07:36:45 -04:00
Lee Clagett
a3d5d7909b Fixed qi::alternative test code. 2014-04-13 14:07:10 -04:00
Lee Clagett
79f65ff9c0 Updated tests to catch bug in tst_map 2014-04-13 11:51:19 -04: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
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
131e64bd98 Added x3 tests to Jamfile (reverted from commit c3935ca442) 2014-04-01 10:30:47 +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
be00816174 added jamfile 2014-04-01 08:10:03 +08: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
dfed8f3dea Added test for parsing to fusion map with keys parsed in alternative<> 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
3dc3960e67 Added test for fusion::map parsing 2014-03-20 11:25:22 +00:00
Maxim Ivanov
ba5b50f691 as x3::lit() is fixes no need to omit[] it anymore 2014-03-19 22:36:01 +00:00
Maxim Ivanov
4f97aa987c stop x3::lit from updating passed container 2014-03-19 22:34:31 +00:00
Maxim Ivanov
c206e3d0ac Added test for recently fixed sequence attribute consistency bug 2014-03-19 20:22:08 +00:00
Maxim Ivanov
c3935ca442 Added x3 tests to Jamfile 2014-03-19 15:48:49 +00:00
Joel de Guzman
8a35332835 Merging Spirit x3 into devel 2014-03-18 11:06:19 +08:00
Joel de Guzman
5767624292 preparing for migration to boost devel 2014-03-18 10:53:30 +08:00
Yuri Khan
555fb29c71 Add test exercising attribute_size<optional<T> > 2014-03-03 15:19:11 +07:00
Joel de Guzman
02ef48736f fixed missing dependency in jamfile 2014-01-23 11:22:49 +08:00
K-ballo
288ea470ea Fixed omit/skip in test case 2013-12-14 12:11:48 -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
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
81b9bb40b0 Spirit: fixing a problem in karma::omit
[SVN r84814]
2013-06-17 13:11:30 +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
Hartmut Kaiser
ad53d2e841 Fix #7900: karma indirect_iterator returns reference to temporary
[SVN r82521]
2013-01-17 13:33:58 +00:00
Hartmut Kaiser
c8c65757c6 Spirit: fixing inspect errors
[SVN r82191]
2012-12-23 20:02:12 +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
4e804bf318 Spirit: Fixing inspect problems
[SVN r81794]
2012-12-08 15:51:22 +00:00
Hartmut Kaiser
3ba8b8b8ed Spirit: applying Karma unicode patch
[SVN r81746]
2012-12-06 17:41:53 +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
Joel de Guzman
f1759ccbff test overlapping symbols
[SVN r80800]
2012-10-01 00:04:26 +00:00
Ben Hanson
7fbb69518b Whitespace should be + not *.
[SVN r78358]
2012-05-06 14:49:11 +00:00
Ben Hanson
313c1f8d25 Whitespace should be + not *.
[SVN r78357]
2012-05-06 14:48:29 +00:00
Ben Hanson
97a91cfe72 Whitespace should be + not *.
[SVN r78356]
2012-05-06 14:46:35 +00:00
Ben Hanson
b9f77a7c91 whitespace should be + not *.
[SVN r78355]
2012-05-06 14:45:33 +00:00
Joel de Guzman
97800f6fc5 test for ticket #6714 (fixed)
[SVN r77433]
2012-03-20 15:14:10 +00:00
Hartmut Kaiser
d14eb0fd7c Spirit: correcting copyright
[SVN r76463]
2012-01-13 18:48:54 +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
4cb423d7db Spirit: Fixing problems in karma::center[] directive
[SVN r76381]
2012-01-09 13:47:25 +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
Joel de Guzman
41b3214ebc added longest match test
[SVN r75735]
2011-11-29 23:47:21 +00:00
Joel de Guzman
7c1d4d079e Docs for the seek directive
[SVN r75108]
2011-10-25 01:01:33 +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
Joel de Guzman
78cb23c6ac Added rvalue support for symbols %=
[SVN r74906]
2011-10-11 00:24:04 +00:00
Hartmut Kaiser
b5a81660c3 Spirit: copyright fixes
[SVN r74246]
2011-09-05 22:32:29 +00:00
Hartmut Kaiser
4727fc8f49 Spirit: Fixing actions for embedded parsers which synthesize attributes, adding test
[SVN r74055]
2011-08-24 22:24:51 +00:00
Joel de Guzman
445ba6df37 Disabling test that cannot be fixed.
[SVN r74033]
2011-08-23 23:44:16 +00:00
Joel de Guzman
553db54427 added test for SA chaining
[SVN r73833]
2011-08-16 23:21:29 +00:00
Joel de Guzman
b03f0941e0 added test for SA chaining
[SVN r73832]
2011-08-16 23:18:50 +00:00
Joel de Guzman
ed1bc1c2bc test case where literals emit an attribute of /0
[SVN r73420]
2011-07-28 23:33:09 +00:00
Hartmut Kaiser
3ce4e53557 Spirit: added position_token type
[SVN r72114]
2011-05-23 01:58:19 +00:00
Hartmut Kaiser
d842d60abb Spirit: tweaks to attribute handling
[SVN r72111]
2011-05-23 01:55:32 +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
Bryce Adelstein-Lelbach
8306bcb237 Allow tags for strings.
[SVN r71999]
2011-05-16 20:27:26 +00:00
Hartmut Kaiser
f3c5618547 Spirit: adding more test cases
[SVN r71731]
2011-05-05 02:10:16 +00:00
Hartmut Kaiser
d926f23342 Spirit: fixed a copyright
[SVN r71633]
2011-04-30 18:34:36 +00:00
Hartmut Kaiser
0102565600 Spirit: fixing an issue in Qi with adapted ADTs, added test
[SVN r71631]
2011-04-30 17:34:30 +00:00
Joel de Guzman
8e3ef5fe7e Minor tweaks
[SVN r71399]
2011-04-21 05:13:30 +00:00
Hartmut Kaiser
09b20da8cd Spirit: renamed test
[SVN r71373]
2011-04-18 17:33:19 +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
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
575df4e144 Spirit: fixing more problems with using adapted ADTs in Kamra
[SVN r71305]
2011-04-16 02:10:11 +00:00
Bryce Adelstein-Lelbach
a23a191569 Remove utree's operator[], add spirit::get().
[SVN r71254]
2011-04-14 17:36:25 +00:00
Joel de Guzman
788ff8f0c2 Arbitrary radix feature for uints
[SVN r71233]
2011-04-14 00:33:42 +00:00
Hartmut Kaiser
2dc2bc919f Spirit: adding missing numeric CP specializations for adapted ADTs, added test
[SVN r71231]
2011-04-13 21:54:16 +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
69983e81ed Spirit: adding Phoenix V3 limits.hpp to allow for flawless definition of all required LIMITS
[SVN r71193]
2011-04-11 18:50:28 +00:00
Joel de Guzman
39f3505d00 Fixes http://boost.2283326.n4.nabble.com/Grammar-stopped-compiling-on-more-recent-spirit-version-td3432652.html
[SVN r71100]
2011-04-08 00:21:27 +00:00
Hartmut Kaiser
ba46672803 Spirit: fixing assertions in error_handler when used with multi_pass, added test
[SVN r71080]
2011-04-07 14:38:33 +00:00
Hartmut Kaiser
bf019b8b58 Spirit: fixing tests to actually run both test suites (Phoenix V2 and V3)
[SVN r70748]
2011-03-30 11:29:59 +00:00