Nikita Kniazev
f474ee6b54
Lex: regression_wide suppress signed with unsigned comparison warning
...
Instead of actual token type Lex internally uses `std::size_t` and passes the
token value to semantic actions as-is. Revert the commit once it is fixed.
2019-09-28 21:51:02 +03:00
Romain Geissler
295ad6710a
Explicitly delete all non implemented assignment operators.
...
Commit (almost) automatically generated with the following sed command:
sed -i -ne '1h;1!H;${g;s|\n[[:blank:]]*private:\n\([[:blank:]]*\)// silence MSVC warning C4512: assignment operator could not be generated\n\([[:blank:]]*\)\([^\n]\+\);\n|\n\1// silence MSVC warning C4512: assignment operator could not be generated\n\2BOOST_DELETED_FUNCTION(\3);\n|g;p}' $(git ls-files)
Then all files in the x3 subfolder were reverted to HEAD, and manually
updated to use " = delete" instead of BOOST_DELETED_FUNCTION.
2019-04-16 22:35:52 +00:00
Nikita Kniazev
a0e5817444
Revert to use <dependency> feature
...
This was my fault when I did not mark subfeature `propogated` and after fixing
it I did not retest this thing.
2019-01-27 16:52:47 +03:00
Nikita Kniazev
e46e58f4cd
Tests: Added precompiled headers
...
Not intrusive. Significantly speeds up tests on MSVC (for about 3 times).
Finally solves exceeding build time limits on CI with MSVC compilers.
Did not set up PCH for X3, it is fast as-is (tooks only about 2 minutes).
Repository tests reuse PCH from Qi/Karma tests.
2019-01-21 02:59:45 +03:00
Nikita Kniazev
5e4ab36170
Tests: Include less headers
2018-10-01 02:16:04 +03:00
Nikita Kniazev
160dee1799
Do not use extended initializer lists
2017-12-26 16:25:54 +03:00
Nikita Kniazev
a9eab0ef78
Lex.Tests: token_moretypes: Use optional
...
Simplifies values declaration and fixes warnings.
2017-12-26 15:27:34 +03:00
Nikita Kniazev
596079647b
Tests.Lex: Fixed dependencies race
...
It looks like `<implicit-dependency>` does not actually work.
2017-11-28 03:54:44 +03:00
Nikita Kniazev
0917fca9fd
Tests: Improve tests
...
- Split Spirit v2 tests
- Readd missing v2 tests
- Run X3 tests
- Remove `-p3` suffix
- Use `<c++-template-depth>`
- Automatic adding of subproject name prefix
- Flatten tests declaration
2017-11-28 03:10:20 +03:00
Nikita Kniazev
9c2d6dec93
Revert "Split Spirit v2 tests"
2017-11-26 14:45:39 +03:00
Nikita Kniazev
a21b0b33f5
Split Spirit v2 tests
2017-11-25 14:40:54 +03:00
Nikita Kniazev
ee900333b4
Lex.Tests: set_token_value: Fixed type conversion warning
2017-11-21 19:49:35 +03:00
Nikita Kniazev
d99cdf5bd2
Tests: Removed unused argc
and argv
parameters
2016-08-29 19:25:23 +03:00
Joel de Guzman
4789aec3d9
Merge pull request #215 from Kojoley/fix-multiple-unsued-variable-warnings
...
Tests: Fixed multiple unused variable warnings
2016-08-26 06:23:44 +08:00
Nikita Kniazev
20e588242e
Lex.Tests: Fixed unused variables warning from tokendedent_handling_phoenix
test
2016-08-25 22:31:10 +03:00
Nikita Kniazev
15a0012863
Lex.Tests: Fixed unused variables warnings from token_iterpair
test
2016-08-25 22:31:10 +03:00
Nikita Kniazev
532c0e6fbe
Lex.Tests: regression_wide: comparison between signed and unsigned
...
> lex/regression_wide.cpp:70:51: warning: comparison between signed and
> unsigned integer expressions [-Wsign-compare]
> BOOST_TEST(data[sequence_counter].tokenid == tokenid);
^
2016-08-25 21:04:24 +03:00
Nikita Kniazev
894ea490f7
Lex.Tests: regression_wide: Fixed initialization order
...
> lex/regression_wide.cpp:93:11: warning: field 'constant' will be
> initialized after field 'operation' [-Wreorder]
> , constant (L"[0-9]+(\\.[0-9]+)?", ID_CONSTANT)
> ^
2016-08-25 21:04:24 +03:00
Nikita Kniazev
a7927b15ef
Lex.Tests: regression_wide: unused typedef 'iterator_type'
...
> lex/regression_wide.cpp:122:52: warning:
> unused typedef 'iterator_type' [-Wunused-local-typedef]
> typedef mega_tokens<lexer_type>::iterator_type iterator_type;
2016-08-25 21:04:24 +03:00
Nikita Kniazev
10a0fc449e
Lex.Tests: regression_wide: sequence_counter
signed and unsigned comparison
...
> lex/regression_wide.cpp:69:37: warning: comparison between signed
> and unsigned integer expressions [-Wsign-compare]
> BOOST_TEST(sequence_counter < sizeof(data)/sizeof(data[0]));
2016-08-25 21:04:24 +03:00
Jeff Trull
4c073d8891
remove excess includes and turn off debugging
2016-05-16 18:13:02 -07:00
Jeff Trull
8ac0d9b98b
Fix plain_token_range and add a test for plain tokens
2016-05-16 18:11:02 -07: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
fc83d23f2a
Fix #8563 : Compilation error with boost::spirit::lex::less actor
...
[SVN r84285]
2013-05-14 23:43:46 +00:00
Ben Hanson
7fbb69518b
Whitespace should be + not *.
...
[SVN r78358]
2012-05-06 14:49:11 +00:00
Ben Hanson
313c1f8d25
Whitespace should be + not *.
...
[SVN r78357]
2012-05-06 14:48:29 +00:00
Ben Hanson
97a91cfe72
Whitespace should be + not *.
...
[SVN r78356]
2012-05-06 14:46:35 +00:00
Ben Hanson
b9f77a7c91
whitespace should be + not *.
...
[SVN r78355]
2012-05-06 14:45:33 +00:00
Hartmut Kaiser
7261177938
Spirit: fixed #6253 : lex::lexertl::generate_static_dfa compiler errors if lexer has wchar_t as underlying stream type
...
[SVN r75910]
2011-12-12 00:48:40 +00:00
Hartmut Kaiser
b5a81660c3
Spirit: copyright fixes
...
[SVN r74246]
2011-09-05 22:32:29 +00:00
Hartmut Kaiser
3ce4e53557
Spirit: added position_token type
...
[SVN r72114]
2011-05-23 01:58:19 +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
Hartmut Kaiser
2afde11ef5
Spirit: more adjustments for Phoenix V3
...
[SVN r70687]
2011-03-29 00:11:41 +00:00
Hartmut Kaiser
400a764d61
Spirit: patch allowing to use Spirit with Phoenix V3
...
[SVN r70656]
2011-03-28 02:37:31 +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
8483d78f97
Spirit: adding possibility to specify token id with lex::char_ and lex::string
...
[SVN r69833]
2011-03-10 22:29:40 +00:00
Hartmut Kaiser
83a792d7ed
Spirit: updating copyrights
...
[SVN r67619]
2011-01-03 16:58:38 +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
a2b5ee39e9
Spirit: more warning fixes in lexer tests
...
[SVN r66948]
2010-12-01 14:39:43 +00:00
Hartmut Kaiser
adce0d2f4a
Spirit: minor adjustment to lexer test
...
[SVN r66947]
2010-12-01 14:36:07 +00:00
Hartmut Kaiser
e7b6b72df8
Spirit: fixing warnings in lexer tests
...
[SVN r66850]
2010-11-29 19:05:45 +00:00
Hartmut Kaiser
3ddbb0263b
Spirit: added new test for lexer id_types not equal to std::size_t
...
[SVN r66849]
2010-11-29 18:51:12 +00:00
Hartmut Kaiser
fdcc51780c
Spirit: adding more tests, updating docs
...
[SVN r66796]
2010-11-27 16:05:13 +00:00
Hartmut Kaiser
42dc03c37b
Spirit: added one more lexer regression test
...
[SVN r66761]
2010-11-25 22:41:23 +00:00
Hartmut Kaiser
07aaaca51b
Spirit: adding new test for lexer lookahead
...
[SVN r66741]
2010-11-24 23:51:56 +00:00
Hartmut Kaiser
13a4d3c83a
Spirit: adding yet another regression test
...
[SVN r66738]
2010-11-24 18:10:35 +00:00
Hartmut Kaiser
e329f1b28e
Spirit: adding test case for lexer problem fixed with the previous commit
...
[SVN r66736]
2010-11-24 17:16:23 +00:00
Hartmut Kaiser
ab1f828376
Spirit: fixed #4253 : Error with lex::_val, added test
...
[SVN r62184]
2010-05-25 02:55:57 +00:00
Hartmut Kaiser
6bea365c51
Spirit: updating copyrights, doc version, etc.
...
[SVN r58589]
2009-12-30 16:16:52 +00:00
Hartmut Kaiser
7c970d0298
Spirit: updating static lexer support
...
[SVN r57583]
2009-11-11 21:29:50 +00:00