xo-reader2: working on example parser repl

This commit is contained in:
Roland Conybeare 2026-01-22 21:03:40 -05:00
commit dc9f29275a
10 changed files with 396 additions and 5 deletions

View file

@ -99,7 +99,7 @@ namespace xo {
size_t error_pos_ = 0;
///@}
}; /*error_token*/
};
inline std::ostream &
operator<< (std::ostream & os,

View file

@ -28,9 +28,9 @@ namespace xo {
**/
class scan_result {
public:
using CharT = char;
//using CharT = char;
using token_type = Token;
using span_type = xo::mm::span<const CharT>;
using span_type = xo::mm::span<const char>;
using error_type = TokenizerError;
using input_state_type = TkInputState;