xo-reader2: working on example parser repl
This commit is contained in:
parent
2bf23b41a9
commit
dc9f29275a
10 changed files with 396 additions and 5 deletions
|
|
@ -99,7 +99,7 @@ namespace xo {
|
|||
size_t error_pos_ = 0;
|
||||
|
||||
///@}
|
||||
}; /*error_token*/
|
||||
};
|
||||
|
||||
inline std::ostream &
|
||||
operator<< (std::ostream & os,
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue