Commit Graph

4777 Commits

Author SHA1 Message Date
Joel de Guzman
675d65fa4a Merge pull request #69 from mlang/missing/inline
Add missing inline to avoid linker errors about duplicate definitions.
2014-11-22 01:18:13 +08:00
Joel de Guzman
a22de5eab1 Merge pull request #71 from mlang/x3/examples/link
Prefix calcN example executables with x3_ to avoid error.
2014-11-21 06:22:44 +08:00
Mario Lang
6e3d372601 Prefix calcN example executables with x3_ to avoid error.
At least on Linux, b2 fails to link calc{7,8,9} since the exe name is identical
to the subdirectory containing the source files.

Prefix all calc examples with x3_ to actually allow to link them.
2014-11-20 21:16:37 +01:00
Mario Lang
c0ea389a1e Fix misplaced inline keyword. 2014-11-18 01:22:56 +01:00
Mario Lang
5d6dd28e84 Decouple error_reporting.hpp from line_pos_iterator. 2014-11-18 01:15:24 +01:00
Mario Lang
19ca8017bd Add missing inline to avoid linker errors about duplicate definitions. 2014-11-18 01:06:15 +01:00
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
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
Richard
9da42b7253 Add TeX source and PDF output for reference card. 2014-11-02 20:12:58 -07:00
Joel de Guzman
2b69f77c3a Merge pull request #65 from teajay-fr/feature/x3_devlop_merge
Feature/x3 devlop merge
2014-11-02 07:31:38 +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
Joel de Guzman
d30a64653f Merge pull request #64 from wichtounet/patch-2
Macro to remove filesystem dependency
2014-11-02 03:03:41 +08: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
Joel de Guzman
cf0fbeca7c Merge pull request #63 from Flast/bugfix/fusion-result_of-make_map
Compliant fusion::result_of::make_map changes with variadic map.
2014-10-26 22:06:59 +08: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
Joel de Guzman
31533d93ae Merge pull request #58 from teajay-fr/feature/x3_no_case
Feature/x3 no case
2014-10-18 15:01:57 +08: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
Joel de Guzman
147a85a2e2 Merge pull request #61 from teajay-fr/feature/char_sets
Feature/char sets
2014-10-16 09:46:42 +08:00
Joel de Guzman
a9ac074274 Merge pull request #60 from teajay-fr/bugfix/lit_encoding
Fix the char encoding specific generators for all the string literal
2014-10-16 09:44:15 +08: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
Joel de Guzman
7dba6cc2c6 Merge pull request #59 from aiche/fix/parse_nan_deref_end-#6955
Check for first == last before dereferencing first
2014-10-13 18:21:40 +08: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
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
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
Agustín Bergé
8ea454c465 Merge pull request #56 from mlang/x3/example/missing-iostream
compiler.cpp needs <iostream> for std::cout.
2014-09-13 11:59:47 -03:00
Mario Lang
0a1ef04059 Remove redundant decls which already appear in previous header. 2014-09-13 11:20:30 +02:00
Mario Lang
89ce1624d5 main.cpp of calc8 and cal9 needs <iostream> for std::cout. 2014-09-13 11:13:50 +02:00
Mario Lang
ba0a0dc832 compiler.cpp needs <iostream> for std::cout. 2014-09-13 10:34:27 +02:00