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
Nikita Kniazev
5e4ab36170
Tests: Include less headers
2018-10-01 02:16:04 +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
Hartmut Kaiser
400a764d61
Spirit: patch allowing to use Spirit with Phoenix V3
...
[SVN r70656]
2011-03-28 02:37:31 +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