xo-tokenizer: refactor + satisfy clang on osx

This commit is contained in:
Roland Conybeare 2025-11-21 09:19:06 -05:00
commit 7f1afac903
6 changed files with 70 additions and 43 deletions

View file

@ -8,6 +8,7 @@
#include "xo/reader/reader.hpp"
#include <replxx.hxx>
#include <ostream>
#include <unistd.h> // for STDIN_FILENO on OSX
namespace xo {
using xo::gc::IAlloc;
@ -231,7 +232,7 @@ namespace xo {
// ----- Schematika -----
Schematika::Schematika(const Config & cfg) : p_impl_{std::move(Impl::make(cfg))}
Schematika::Schematika(const Config & cfg) : p_impl_{Impl::make(cfg)}
{}
Schematika::~Schematika()