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
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
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
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
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
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
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
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
16b894852a
added actions test
...
added _fail context for forcing a faiked parse
2014-04-02 17:38:03 +08: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
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
Joel de Guzman
f1759ccbff
test overlapping symbols
...
[SVN r80800]
2012-10-01 00:04:26 +00:00
Joel de Guzman
41b3214ebc
added longest match test
...
[SVN r75735]
2011-11-29 23:47:21 +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
d842d60abb
Spirit: tweaks to attribute handling
...
[SVN r72111]
2011-05-23 01:55:32 +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
260e21cf53
Spirit: applying patch to allow for arbitrary radicies while parsing unsigned numbers
...
[SVN r71347]
2011-04-17 02:55:36 +00:00
Joel de Guzman
788ff8f0c2
Arbitrary radix feature for uints
...
[SVN r71233]
2011-04-14 00:33:42 +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
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
2afde11ef5
Spirit: more adjustments for Phoenix V3
...
[SVN r70687]
2011-03-29 00:11:41 +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
cb0ad949b0
Spirit: fixing iterator handling in stream parser, added test
...
[SVN r70550]
2011-03-26 01:01:41 +00:00
Hartmut Kaiser
1cd6547388
Spirit: more work on Qi container attributes
...
[SVN r70211]
2011-03-19 23:42:09 +00:00
Hartmut Kaiser
9db67059e0
Spirit: adding test for recently fixed container attribute handling problem
...
[SVN r70045]
2011-03-17 00:18:08 +00:00
Joel de Guzman
814f2416bb
fixes bug_march_10_2011_8_35_am in alternative.cpp test
...
[SVN r69813]
2011-03-10 01:16:39 +00:00
Hartmut Kaiser
eddea13c02
Spirit: adding a failing test case to alternative.cpp
...
[SVN r69780]
2011-03-09 20:07:51 +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
5da23ebd08
keywords patch
...
[SVN r69671]
2011-03-08 02:18:41 +00:00
Joel de Guzman
d426d220b6
Bug?
...
[SVN r69599]
2011-03-06 05:41:28 +00:00
Hartmut Kaiser
418fd94ddb
Spirit: fixed compilation issue in attribute handling code
...
[SVN r69527]
2011-03-03 18:49:26 +00:00
Hartmut Kaiser
25216c09c8
Spirit: commented two non-functional use cases
...
[SVN r69498]
2011-03-02 23:45:14 +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
7c324eef45
Spirit: fixing container attribute handling of sequences and container parser components
...
[SVN r69405]
2011-02-28 22:43:13 +00:00
Hartmut Kaiser
5afb701cc1
Spirit: added context to top level APIs, added docs, added tests
...
[SVN r69293]
2011-02-26 04:07:14 +00:00
Hartmut Kaiser
14cdc347c5
Spirit: Fixing obscure bug in qi::attr(), added test case
...
[SVN r69219]
2011-02-23 20:09:38 +00:00
Joel de Guzman
0cc2c21375
fixed test error
...
[SVN r69138]
2011-02-22 02:08:05 +00:00
Joel de Guzman
d0ce4409fa
Tweaks. Allow attribute compatibility on alternatives
...
[SVN r69023]
2011-02-19 09:15:03 +00:00
Joel de Guzman
2b1dac562a
Allow attribute compatibility with semantic actions
...
[SVN r68906]
2011-02-15 03:20:11 +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
b49f827549
added option to have no predefined terminals
...
[SVN r68744]
2011-02-09 10:44:41 +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
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
e072d85c37
Adding test
...
[SVN r68292]
2011-01-19 16:08:52 +00:00
Hartmut Kaiser
5cca7065e8
Spirit: added explicit name() to symbols, doc fixes
...
[SVN r68166]
2011-01-15 02:48:46 +00:00
Hartmut Kaiser
9fec54a408
Spirit: fixing regression in netlib url parser
...
[SVN r67963]
2011-01-11 16:18:19 +00:00
Bryce Adelstein-Lelbach
dd897317ca
Re-added Qi numeric literals as they no longer break Qi auto-magic.
...
[SVN r67902]
2011-01-10 03:04:31 +00:00
Hartmut Kaiser
ca6b180931
Spirit: replaced proto::lit with spirit::lit
...
[SVN r67754]
2011-01-07 17:50:06 +00:00
Bryce Adelstein-Lelbach
e1b0e45a5d
Removed Qi numeric literals (interference w/ auto magic)
...
[SVN r67737]
2011-01-06 23:37:52 +00:00
Bryce Adelstein-Lelbach
a1fa5e9721
Added FIXME comments for utree sequence tests.
...
[SVN r67713]
2011-01-06 04:24:26 +00:00
Hartmut Kaiser
2b12744edf
Spirit: added more tests
...
[SVN r67712]
2011-01-06 03:12:02 +00:00
Hartmut Kaiser
0134cd358f
Spirit: added more tests
...
[SVN r67693]
2011-01-05 22:38:10 +00:00
Hartmut Kaiser
242874826f
Spirit: more utree fixes
...
[SVN r67689]
2011-01-05 21:06:41 +00:00
Bryce Adelstein-Lelbach
77f6955781
Regenned docs to fix a problem in them, added more utree tests.
...
[SVN r67683]
2011-01-05 16:44:32 +00:00
Hartmut Kaiser
83a792d7ed
Spirit: updating copyrights
...
[SVN r67619]
2011-01-03 16:58:38 +00:00
Bryce Adelstein-Lelbach
569b3111e1
Renamed the "get_c_string_impl" Spirit CP to "extract_c_string"; changed utree
...
tests for mixed expectation/sequence operators. Added spirit::result_of::get_begin
and spirit::result_of::get_end to string_traits.hpp.
[SVN r67606]
2011-01-03 05:24:09 +00:00
Bryce Adelstein-Lelbach
1446a3fa25
Parameterized and literal support for integer, real and boolean parsers. Fix for
...
lazy parser and handles_container<>. Added docs for as<T> (docs for Qi only).
[SVN r67553]
2011-01-01 22:22:56 +00:00
Bryce Adelstein-Lelbach
c4ea90c69b
Added support for integral literals to Qi.
...
[SVN r67508]
2010-12-30 21:55:39 +00:00
Bryce Adelstein-Lelbach
eac6e38159
Reorganized Spirit tests, broke down larger tests so they won't time out on
...
ICC.
[SVN r67494]
2010-12-29 21:17:01 +00:00
Hartmut Kaiser
f30ca2301d
Spirit: utree modifications, mostly
...
[SVN r67472]
2010-12-27 23:45:44 +00:00
Hartmut Kaiser
0fa3a02cd6
Spirit: added test
...
[SVN r67455]
2010-12-26 15:30:11 +00:00
Hartmut Kaiser
ac0cdfb0a7
Spirit: utree integration, initial implementation complete
...
[SVN r67447]
2010-12-25 21:13:56 +00:00
Hartmut Kaiser
3f90d0c7d8
Spirit: fixing Qi sequence attribute handling
...
[SVN r67442]
2010-12-24 02:12:10 +00:00
Bryce Adelstein-Lelbach
05913d71b4
Added the as directive.
...
[SVN r67437]
2010-12-23 21:14:50 +00:00
Bryce Adelstein-Lelbach
a007ccec8d
Removed the typed string CP, add a fix for sequences, and some new tests for
...
them.
[SVN r67409]
2010-12-22 05:20:00 +00:00
Hartmut Kaiser
25b26153d5
Spirit: fixed/added utree tests
...
[SVN r67408]
2010-12-22 01:27:07 +00:00
Bryce Adelstein-Lelbach
3b37b8e575
Added a new utree CP to allow rule<Iterator, utf8_string_type()> r = char("+-/*")
...
semantics (rationale: a single character is represented as a string in utree).
Also added tests for the above functionality.
[SVN r67392]
2010-12-21 19:54:14 +00:00
Bryce Adelstein-Lelbach
555ce8238d
Retooled the get_c_string customization point in Spirit (reimplemented it as
...
a static member of a template struct) to fix parameterized use of karma::string
with utree (e.g., string("foo")). Broke the Spirit test-suite into five test-suites
in the test Jamfile for testing individual Spirit modules (this doesn't change
what tests are run if you just invoke 'bjam' in libs/spirit/test, nor does it change
where in the build directory the tests are placed). Added some more utree tests.
[SVN r67380]
2010-12-21 07:17:40 +00:00
Hartmut Kaiser
28bb0466c4
Spirit: adding uninitialized utree node type
...
[SVN r67379]
2010-12-21 02:50:47 +00:00
Hartmut Kaiser
0643a7d53e
Spirit: utree documentation work
...
[SVN r67357]
2010-12-20 01:59:17 +00:00
Hartmut Kaiser
c6e903b281
Spirit: fixing header ordering
...
[SVN r67344]
2010-12-19 17:25:22 +00:00
Joel de Guzman
408f917c68
correct as_string behavior
...
[SVN r67056]
2010-12-06 03:58:13 +00:00
Hartmut Kaiser
d7a5158607
Spirit: adding a few utree test cases which currently still fail
...
[SVN r67024]
2010-12-05 18:40:31 +00:00
Joel de Guzman
5bef5d36d7
added as_string directive as a synonym to "raw".
...
[SVN r67019]
2010-12-05 04:37:45 +00:00
Hartmut Kaiser
48abd98e8d
Spirit: fixed utree tests
...
[SVN r67001]
2010-12-04 02:16:51 +00:00
Hartmut Kaiser
9d4b93650f
Spirit: fixed utree tests
...
[SVN r66999]
2010-12-04 02:03:33 +00:00
Joel de Guzman
e690655eb1
Utree-spirit integration
...
[SVN r66995]
2010-12-03 23:54:39 +00:00
Hartmut Kaiser
882b2786a0
Spirit: more utree fixes for better integration with Qi, updated tests
...
[SVN r66938]
2010-11-30 23:42:03 +00:00
Hartmut Kaiser
4828ebed7b
Spirit: more utree tests
...
[SVN r66935]
2010-11-30 22:55:27 +00:00
Hartmut Kaiser
acbd5cca5d
Spirit: adding minimal utree tests
...
[SVN r66913]
2010-11-30 19:50:10 +00:00