2
0
mirror of https://github.com/boostorg/spirit.git synced 2026-01-19 16:52:10 +00:00

14 Commits

Author SHA1 Message Date
Nikita Kniazev
6a7c758376 Switch to the new location of lightweight test
Old location had been deprecated for a long time already.
2021-08-23 21:45:17 +03:00
Nikita Kniazev
db8bdf3d71 Fix GCC -Wshadow-local and MSVC C4457
GCC bug reported https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100608

Fixes #676
2021-05-17 03:02:19 +03:00
Nikita Kniazev
30e1fd440d X3.Tests: rule2: Workaround Clang<3.9 compile error 2021-03-18 05:03:02 +03:00
Nikita Kniazev
9022707552 X3: Skip rule definition injection into context
When a rule placeholder constructed and immediately consumed it cannot be used recursively, that's why the rule definition injection into a parser context can be skipped.
This optimization has a huge impact on compile times because immediate rules are commonly used to cast an attribute like `as`/`attr_cast` does in Qi.
2021-03-03 03:40:24 +03:00
Nikita Kniazev
0ab06abfc6 Annotate, clean up, and group extended ASCII tests 2019-03-01 22:50:15 +03:00
Nikita Kniazev
c6d5c9c3d9 X3.Tests: Removed unused using declarations 2018-12-31 00:05:26 +03:00
Joel de Guzman
0adee06b27 cleaning up the tests 2015-05-14 02:13:24 +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
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
5767624292 preparing for migration to boost devel 2014-03-18 10:53:30 +08:00