2382 Commits

Author SHA1 Message Date
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