2
0
mirror of https://github.com/boostorg/spirit.git synced 2026-01-19 04:42:11 +00:00

30 Commits

Author SHA1 Message Date
Rene Rivera
b1947d9c3a Change all <source> references to <library>. 2024-07-20 21:25:51 -05:00
Rene Rivera
c31939d691 Make the library modular usable. 2024-03-11 08:38:16 -05:00
Nikita Kniazev
f44479bcd3 Remove boost/config/warning_disable.hpp usage
It is better to manage warnings on our side to know what warnings we need to fix or suppress, and the only thing that header does is disabling deprecation warnings on MSVC and ICC which we would prefer to not show to users.
2021-08-24 03:14:12 +03:00
Nikita Kniazev
2db3fde0d0 X3: Remove forced iterator rollback in rule
Removes inconsistency when a parser part is factorized into a rule.

Fixes regression introduced in #670.
2021-06-03 16:46:12 +03:00
Nikita Kniazev
f3cff61408 X3 does not support exporting rules. Closes #517 2021-02-27 22:48:16 +03:00
Nikita Kniazev
f38019094d Unpublish x3/support/utility/testing.hpp
By most part reverts a3d667002f. The header is
undertested, used only in that single example, and has extra dependencies.
2019-04-19 22:04:32 +03:00
Nikita Kniazev
8995e825d0 X3.Examples: rexpr_full: Additional compilation fixes 2019-02-09 17:55:17 +03:00
Nikita Kniazev
f64b28a13d X3.Examples: rexpr_full: Fixed path to test files 2019-02-09 17:55:17 +03:00
Nikita Kniazev
3338ebcdf9 X3.Examples: rexpr_full: Fixed compilation on windows
`filesystem::path::c_str()` on windows returns `wchar_t` while error_handler
file parameter is of `std::string` type.
2019-01-22 20:09:52 +03:00
Nikita Kniazev
d15a26eb13 X3.Examples: Context type has changed due to #239 2019-01-08 19:05:08 +03:00
Nikita Kniazev
4583a4b708 Boost.System is header only since 1.69 2018-12-30 17:06:19 +03:00
Nikita Kniazev
d526cd1931 Use <c++-template-depth> feature 2017-12-15 01:12:06 +03:00
Nikita Kniazev
c134020c2a X3.Examples: Fix no template named 'with_context' error
`with_context` was removed in 361b12eeeb
but the examples had not been adjusted.
2017-10-30 00:55:31 +03:00
Joel de Guzman
6892080b91 fix. test files location. 2017-08-07 11:14:22 +08:00
Ahmed Charles
53f210976b Fix typo in test case. 2015-12-22 17:14:26 -08: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
7f7f884fcf Use error_handler to report success && iter != end. 2015-05-21 01:56:44 +02:00
Mario Lang
4e4aa40a82 Use rexpr_type. 2015-05-19 14:42:09 +02:00
Mario Lang
71eba444a7 No need to declare rexpr_class twice. 2015-05-19 14:41:14 +02:00
Mario Lang
9c0466fef2 Rules should be const, as advertised by docs. 2015-05-19 14:37:01 +02:00
Mario Lang
033e52c039 Make annotation.hpp generic and move to support/utility/annotate_on_success.hpp.
Since X3 promotes x3::variant, we can actually make annotation.hpp
generic, avoiding copy-pastism in all the projects that make use of
basic error reporting.
2015-05-18 14:35:52 +02:00
Mario Lang
38b334b51d Kill duplicated code in annotation.hpp. 2015-05-18 02:01:46 +02:00
Ahmed Charles
ac70d6f65a Allow rule.hpp to be included independently. 2015-05-16 18:02:10 -06:00
Ahmed Charles
e2044f0bde Rearrange includes and add some missing includes. 2015-05-16 14:07:19 -06:00
Ahmed Charles
5b8c168f22 Remove unused namespace alias. 2015-05-16 14:07:18 -06:00
Ahmed Charles
a53f104eaa Remove unused struct fun::error_handler_tag. 2015-05-16 14:07:18 -06:00
Ahmed Charles
51cb406b62 Fix rexpr_full so it actually builds like the other examples. 2015-05-16 14:07:18 -06:00
Joel de Guzman
578091e779 - docs for rexpr tutorial
- minor bugfix (strings in lexeme)
2015-05-16 00:44:49 +08:00
Joel de Guzman
43d2b1b6e0 reoraganizing X3 documentation 2015-05-15 22:59:07 +08:00
Joel de Guzman
0e17b6d05d reorganizing files into cleaner directory structures 2015-05-15 04:14:07 +08:00