Skip to content

Commit

Permalink
Factor out a lot of the lexer.cpp tests into a separate file.
Browse files Browse the repository at this point in the history
See #202.
  • Loading branch information
tzlaine committed Nov 29, 2024
1 parent ad64fb6 commit 391bb2b
Show file tree
Hide file tree
Showing 4 changed files with 860 additions and 831 deletions.
3 changes: 0 additions & 3 deletions include/boost/parser/lexer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -557,9 +557,6 @@ namespace boost { namespace parser {
detail::nttp_array Specs = detail::nttp_array<detail::parse_spec{}>{}>
constexpr auto lexer = lexer_t<CharType, ID, WsStr, RegexStr, IDs, Specs>{};

// TODO: Document that every spec's chars need to be in the same UTF (or
// none). Wait -- is this actually true? Tests needed....

namespace detail {
template<typename T>
struct wrapper
Expand Down
1 change: 1 addition & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ add_test_executable(parser_or_permutations_1)
add_test_executable(parser_or_permutations_2)
if (CXX_STD GREATER_EQUAL 20)
add_test_executable(lexer)
add_test_executable(lexer_adobe_files)
endif()

if (MSVC)
Expand Down
Loading

0 comments on commit 391bb2b

Please sign in to comment.