xo-tokenizer: refactor + satisfy clang on osx
This commit is contained in:
parent
8c11c108ca
commit
7f1afac903
6 changed files with 70 additions and 43 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue